summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-31 01:05:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-31 01:05:47 +0300
commitf363a257dac02ca844677e7cf258a57b0f34cb8d (patch)
treef70251673f674d3c00cd8c674ca1a51404116a06 /src/gui
parent33777ea0994f01c696b74677f4937fe2987552c9 (diff)
downloadmv-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.gz
mv-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.bz2
mv-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.xz
mv-f363a257dac02ca844677e7cf258a57b0f34cb8d.zip
Fix compilation error without C++11 flag.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/sdlinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 8405dda90..689066fb5 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -293,7 +293,7 @@ void SDLInput::convertKeyEventToKey(const SDL_Event &event, KeyInput &keyInput)
{
keyInput.setKey(Key(convertKeyCharacter(event)));
const InputActionT actionId = inputManager.getActionByKey(event);
- if (actionId > InputActionT::NO_VALUE)
+ if (actionId > InputAction::NO_VALUE)
keyInput.setActionId(actionId);
}