[Scummvm-cvs-logs] SF.net SVN: scummvm: [27825] scummvm/trunk/gui/KeysDialog.cpp

robinwatts at users.sourceforge.net robinwatts at users.sourceforge.net
Sun Jul 1 16:19:12 CEST 2007


Revision: 27825
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27825&view=rev
Author:   robinwatts
Date:     2007-07-01 07:19:12 -0700 (Sun, 01 Jul 2007)

Log Message:
-----------
Compile fix: ascii should be state.ascii, I assume.

Modified Paths:
--------------
    scummvm/trunk/gui/KeysDialog.cpp

Modified: scummvm/trunk/gui/KeysDialog.cpp
===================================================================
--- scummvm/trunk/gui/KeysDialog.cpp	2007-07-01 13:40:36 UTC (rev 27824)
+++ scummvm/trunk/gui/KeysDialog.cpp	2007-07-01 14:19:12 UTC (rev 27825)
@@ -141,7 +141,7 @@
 
 		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");


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list