summaryrefslogtreecommitdiff
path: root/src/input
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 /src/input
parent9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff (diff)
downloadplus-9bc3ae99034188e5f5927d9fb47040c6cd34892c.tar.gz
plus-9bc3ae99034188e5f5927d9fb47040c6cd34892c.tar.bz2
plus-9bc3ae99034188e5f5927d9fb47040c6cd34892c.tar.xz
plus-9bc3ae99034188e5f5927d9fb47040c6cd34892c.zip
fix deletion in keyboardconfig.
Diffstat (limited to 'src/input')
-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;
}