diff options
author | Robin Watts | 2007-07-01 14:19:12 +0000 |
---|---|---|
committer | Robin Watts | 2007-07-01 14:19:12 +0000 |
commit | 5acf6b76c4792174401cfcdefbaecf778734eedc (patch) | |
tree | 635aa663586bb13590ff0c17154158460a089760 | |
parent | 4f8f14d14e54362015c219a1c23ebaf7ffb37ae4 (diff) | |
download | scummvm-rg350-5acf6b76c4792174401cfcdefbaecf778734eedc.tar.gz scummvm-rg350-5acf6b76c4792174401cfcdefbaecf778734eedc.tar.bz2 scummvm-rg350-5acf6b76c4792174401cfcdefbaecf778734eedc.zip |
Compile fix: ascii should be state.ascii, I assume.
svn-id: r27825
-rw-r--r-- | gui/KeysDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/KeysDialog.cpp b/gui/KeysDialog.cpp index 9586950669..666f03bbc9 100644 --- a/gui/KeysDialog.cpp +++ b/gui/KeysDialog.cpp @@ -141,7 +141,7 @@ void KeysDialog::handleKeyUp(Common::KeyState state) { Actions::Instance()->setMapping((ActionType)_actionSelected, state.ascii); - if (ascii != 0) + if (state.ascii != 0) sprintf(selection, "Associated key : %s", SDL_GetKeyName((SDLKey) state.keycode)); else sprintf(selection, "Associated key : none"); |