summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/factory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/factory.cxx b/fluid/factory.cxx
index 1a6bff438..aedaaa1c7 100644
--- a/fluid/factory.cxx
+++ b/fluid/factory.cxx
@@ -908,7 +908,7 @@ static void cb(Fl_Widget *, void *v) {
wt->textstuff(2, f, s, c);
// Resize and/or reposition new widget...
- int w, h;
+ int w = 0, h = 0;
wt->ideal_size(w, h);
if (!strcmp(wt->type_name(), "Fl_Menu_Bar")) {