]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dropdown.h
Simplify constructors with C++11
[libs/gltk.git] / source / dropdown.h
index 2de7a87afc2126210c52cd81cec1cc96dee30394..70a9faaf646c4b6381bd023eda3262d0a48c41cd 100644 (file)
@@ -27,7 +27,7 @@ public:
 
 private:
        List list;
-       bool dropped;
+       bool dropped = false;
        Text text;
 
 public: