From 5acf6b76c4792174401cfcdefbaecf778734eedc Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Sun, 1 Jul 2007 14:19:12 +0000 Subject: Compile fix: ascii should be state.ascii, I assume. svn-id: r27825 --- gui/KeysDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/KeysDialog.cpp') 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"); -- cgit v1.2.3