summaryrefslogtreecommitdiff
path: root/src/input/keyboardconfig.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:43 +0300
commitbbc9697a153b30503d9d12c120505ec81adeacf1 (patch)
tree3af1effd146efdcf76719882d20ee50d28c9f2dd /src/input/keyboardconfig.cpp
parentd42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5 (diff)
downloadmv-bbc9697a153b30503d9d12c120505ec81adeacf1.tar.gz
mv-bbc9697a153b30503d9d12c120505ec81adeacf1.tar.bz2
mv-bbc9697a153b30503d9d12c120505ec81adeacf1.tar.xz
mv-bbc9697a153b30503d9d12c120505ec81adeacf1.zip
Fix code style in input.
Diffstat (limited to 'src/input/keyboardconfig.cpp')
-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 3756e27fb..ee0254b69 100644
--- a/src/input/keyboardconfig.cpp
+++ b/src/input/keyboardconfig.cpp
@@ -68,8 +68,8 @@ int KeyboardConfig::getKeyValueFromEvent(const SDL_Event &event)
return event.key.keysym.sym;
else if (event.key.keysym.scancode > 1)
return -event.key.keysym.scancode;
-#endif
return 0;
+#endif
}
int KeyboardConfig::getKeyIndex(const SDL_Event &event, const int grp)