[Scummvm-cvs-logs] SF.net SVN: scummvm:[33541] scummvm/trunk/engines/drascula/interface.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Sat Aug 2 23:22:08 CEST 2008
Revision: 33541
http://scummvm.svn.sourceforge.net/scummvm/?rev=33541&view=rev
Author: sev
Date: 2008-08-02 21:22:05 +0000 (Sat, 02 Aug 2008)
Log Message:
-----------
Fix bug #2007170: "DRASCULA: No Spaces in SaveGames Names"
Modified Paths:
--------------
scummvm/trunk/engines/drascula/interface.cpp
Modified: scummvm/trunk/engines/drascula/interface.cpp
===================================================================
--- scummvm/trunk/engines/drascula/interface.cpp 2008-08-02 21:20:13 UTC (rev 33540)
+++ scummvm/trunk/engines/drascula/interface.cpp 2008-08-02 21:22:05 UTC (rev 33541)
@@ -128,12 +128,8 @@
if (key != 0) {
if (key >= 0 && key <= 0xFF && isalpha(key))
select2[v] = tolower(key);
- else if ((key == Common::KEYCODE_LCTRL) || (key == Common::KEYCODE_RCTRL))
- select2[v] = '\164';
- else if (key >= Common::KEYCODE_0 && key <= Common::KEYCODE_9)
+ else if ((key >= Common::KEYCODE_0 && key <= Common::KEYCODE_9) || key == Common::KEYCODE_SPACE)
select2[v] = key;
- else if (key == Common::KEYCODE_SPACE)
- select2[v] = '\167';
else if (key == Common::KEYCODE_ESCAPE)
break;
else if (key == Common::KEYCODE_RETURN) {
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