[Scummvm-cvs-logs] SF.net SVN: scummvm:[43440] scummvm/trunk/engines/agos/event.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Sun Aug 16 15:47:48 CEST 2009
Revision: 43440
http://scummvm.svn.sourceforge.net/scummvm/?rev=43440&view=rev
Author: mthreepwood
Date: 2009-08-16 13:47:48 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
Fix for bug #2838517 (FF: backspace does not work when typing save game name).
Modified Paths:
--------------
scummvm/trunk/engines/agos/event.cpp
Modified: scummvm/trunk/engines/agos/event.cpp
===================================================================
--- scummvm/trunk/engines/agos/event.cpp 2009-08-16 12:15:44 UTC (rev 43439)
+++ scummvm/trunk/engines/agos/event.cpp 2009-08-16 13:47:48 UTC (rev 43440)
@@ -498,8 +498,11 @@
_variableArray[41] = 1;
}
+ _keyPressed = event.kbd;
+
// Make sure backspace works right (this fixes a small issue on OS X)
- _keyPressed = event.kbd;
+ if (_keyPressed.keycode == Common::KEYCODE_BACKSPACE)
+ _keyPressed.ascii = Common::KEYCODE_BACKSPACE;
break;
case Common::EVENT_MOUSEMOVE:
break;
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