Compile fix: ascii should be state.ascii, I assume.

svn-id: r27825
This commit is contained in:
Robin Watts 2007-07-01 14:19:12 +00:00
parent 4f8f14d14e
commit 5acf6b76c4

View File

@ -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");