]> git.tdb.fi Git - r2c2.git/commitdiff
Fix some uninitialized variables
authorMikko Rasa <tdb@tdb.fi>
Wed, 20 Nov 2013 08:32:38 +0000 (10:32 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 20 Nov 2013 08:32:38 +0000 (10:32 +0200)
source/designer/tool.cpp

index eeef8829c9bc994af6c67b84381fb52380bb719f..83ac15d731c7856c53db14bccc9edd6cf1e0f37c 100644 (file)
@@ -7,6 +7,8 @@ using namespace Msp;
 
 Tool::Tool(Designer &d, Input::Keyboard &keyboard, Input::Mouse &mouse):
        designer(d),
+       shift_held(false),
+       ctrl_held(false),
        done(false),
        accepted(false)
 {