]> git.tdb.fi Git - libs/gltk.git/commitdiff
Fix an uninitialized variable
authorMikko Rasa <tdb@tdb.fi>
Fri, 18 Aug 2023 21:23:37 +0000 (00:23 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 18 Aug 2023 21:23:37 +0000 (00:23 +0300)
source/widget.cpp

index 19949bb3b4909b454ecb7749ffa946169e5fb7f3..4ef1b46358fcd18fde457b5051ea89131e02331e 100644 (file)
@@ -15,7 +15,8 @@ Widget::Widget():
        state(NORMAL),
        visible(true),
        input_type(INPUT_NONE),
-       parent(0)
+       parent(0),
+       rebuild_needed(false)
 { }
 
 Widget::~Widget()