summaryrefslogtreecommitdiff
path: root/src/Fl_arg.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-11-09 01:34:52 +0100
committerMatthias Melcher <github@matthiasm.com>2022-11-09 01:34:52 +0100
commit3ff8a4ae8addef73ed1ef63e804006863442fe87 (patch)
tree6a7e5d11bd5818985f1ef06fa02b7bad13c9bfe0 /src/Fl_arg.cxx
parente6c3cae6f255a6ec516609bdad767399ab135b6c (diff)
Fixed uninitialised variable.
Diffstat (limited to 'src/Fl_arg.cxx')
-rw-r--r--src/Fl_arg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx
index afdd2dc41..08254c3e9 100644
--- a/src/Fl_arg.cxx
+++ b/src/Fl_arg.cxx
@@ -277,7 +277,7 @@ void Fl_Window::show(int argc, char **argv) {
// note: background_pixel is no longer used since 1.4.0, but anyway ...
// set colors first, so background_pixel is correct:
- static char beenhere;
+ static char beenhere = 0;
if (!beenhere) {
if (geometry) {
int fl = 0, gx = x(), gy = y(); unsigned int gw = w(), gh = h();