summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
commit6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch)
treedf4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/input
parent9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff)
downloadmanaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip
improve a bit strings declaration.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 0f250dae6..d5e3b3957 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -174,7 +174,7 @@ void InputManager::store() const
const KeyItem &key = kf.values[i2];
if (key.type != INPUT_UNKNOWN)
{
- std::string tmp = "k";
+ std::string tmp("k");
switch (key.type)
{
case INPUT_MOUSE: