diff options
Diffstat (limited to 'gui/KeysDialog.cpp')
-rw-r--r-- | gui/KeysDialog.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gui/KeysDialog.cpp b/gui/KeysDialog.cpp index 666f03bbc9..12c97b1a59 100644 --- a/gui/KeysDialog.cpp +++ b/gui/KeysDialog.cpp @@ -23,7 +23,6 @@ * */ -#include "common/stdafx.h" #include "gui/KeysDialog.h" #include "gui/Actions.h" #include <SDL_keyboard.h> @@ -102,7 +101,7 @@ void KeysDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) { if (key >= Common::ASCII_F1 && key <= Common::ASCII_F9) key = key - Common::ASCII_F1 + SDLK_F1; #endif - if (key != 0) + if (key != 0) sprintf(selection, "Associated key : %s", SDL_GetKeyName((SDLKey)key)); else sprintf(selection, "Associated key : none"); @@ -153,7 +152,7 @@ void KeysDialog::handleKeyUp(Common::KeyState state) { _actionSelected = -1; _actionsList->setEnabled(true); Actions::Instance()->beginMapping(false); - } else + } else Dialog::handleKeyUp(state); } |