aboutsummaryrefslogtreecommitdiff
path: root/gui/KeysDialog.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-09-19 08:40:12 +0000
committerNicola Mettifogo2007-09-19 08:40:12 +0000
commit258901bab96f0050385a9912c8ea0fe2a41b2d6f (patch)
treea3ae8675b679c9f3b58ac8d97c79369502ea23c1 /gui/KeysDialog.cpp
parenta89694c0d61a75a960f5bec6c498659c988401cc (diff)
downloadscummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.tar.gz
scummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.tar.bz2
scummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.zip
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
Diffstat (limited to 'gui/KeysDialog.cpp')
-rw-r--r--gui/KeysDialog.cpp5
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);
}