summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-28 01:17:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-28 01:17:29 +0300
commitc9b13ba269857de0311863bf4d4461185fe10459 (patch)
tree20c07af804a9818f667cd1f30296fa81357b5add
parentedc1da3b6e3614fd3fa613e903b44958824bc134 (diff)
downloadmanaverse-c9b13ba269857de0311863bf4d4461185fe10459.tar.gz
manaverse-c9b13ba269857de0311863bf4d4461185fe10459.tar.bz2
manaverse-c9b13ba269857de0311863bf4d4461185fe10459.tar.xz
manaverse-c9b13ba269857de0311863bf4d4461185fe10459.zip
Fix custom repeat interval loading.
-rw-r--r--src/keyboardconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index 47ef4a06c..deef46e4b 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -48,7 +48,7 @@ void KeyboardConfig::init()
if (mActiveKeys2)
delete mActiveKeys2;
mActiveKeys2 = new uint8_t[500];
- mRepeatTime = config.getIntValue("repeateInterval2") * 10;
+ mRepeatTime = config.getIntValue("repeateInterval2") / 10;
}
void KeyboardConfig::deinit()