summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:50:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit9bc3ae99034188e5f5927d9fb47040c6cd34892c (patch)
tree9eb140a9a81505d21fb82025eb30b75daedc233b
parent9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff (diff)
downloadmanaplus-9bc3ae99034188e5f5927d9fb47040c6cd34892c.tar.gz
manaplus-9bc3ae99034188e5f5927d9fb47040c6cd34892c.tar.bz2
manaplus-9bc3ae99034188e5f5927d9fb47040c6cd34892c.tar.xz
manaplus-9bc3ae99034188e5f5927d9fb47040c6cd34892c.zip
fix deletion in keyboardconfig.
-rw-r--r--src/input/keyboardconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/keyboardconfig.cpp b/src/input/keyboardconfig.cpp
index 3c14db805..16e4f3c48 100644
--- a/src/input/keyboardconfig.cpp
+++ b/src/input/keyboardconfig.cpp
@@ -48,7 +48,7 @@ KeyboardConfig::KeyboardConfig() :
void KeyboardConfig::init()
{
mEnabled = true;
- delete mActiveKeys2;
+ delete [] mActiveKeys2;
mActiveKeys2 = new uint8_t[500];
mRepeatTime = config.getIntValue("repeateInterval2") / 10;
}