diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-05-21 20:51:21 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-05-21 20:51:21 +0200 |
commit | 16b59fe4f96d35cf2468365ae185fba389b23020 (patch) | |
tree | 160252ed2946cdaabe4123aa79008c4003c9616a /plugingui/plugingui.cc | |
parent | a0dda8c8b25e61cdab7e6bb8ae62d97f538a2052 (diff) |
Force value of 'initialized' before construction.
Diffstat (limited to 'plugingui/plugingui.cc')
-rw-r--r-- | plugingui/plugingui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc index 60a75fc..170f4f9 100644 --- a/plugingui/plugingui.cc +++ b/plugingui/plugingui.cc @@ -169,10 +169,10 @@ void closeClick(void *ptr) */ PluginGUI::PluginGUI() - : MessageReceiver(MSGRCV_UI), sem("plugingui") + : MessageReceiver(MSGRCV_UI) + , initialised(false) + , sem("plugingui") { - initialised = false; - windowClosedHandler = NULL; changeMidimapHandler = NULL; |