[Scummvm-cvs-logs] SF.net SVN: scummvm:[33565] scummvm/trunk/engines/sky/control.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sun Aug 3 11:41:11 CEST 2008
Revision: 33565
http://scummvm.svn.sourceforge.net/scummvm/?rev=33565&view=rev
Author: eriktorbjorn
Date: 2008-08-03 09:41:10 +0000 (Sun, 03 Aug 2008)
Log Message:
-----------
Fixed bug that prevented upper-case letters from being used in savegame names.
Apparently, strchr(..., 0) will find the string terminator - at least for me -
and when that's added to the name, it will terminate the string.
Modified Paths:
--------------
scummvm/trunk/engines/sky/control.cpp
Modified: scummvm/trunk/engines/sky/control.cpp
===================================================================
--- scummvm/trunk/engines/sky/control.cpp 2008-08-03 08:20:56 UTC (rev 33564)
+++ scummvm/trunk/engines/sky/control.cpp 2008-08-03 09:41:10 UTC (rev 33565)
@@ -986,7 +986,7 @@
if (kbd.keycode == Common::KEYCODE_BACKSPACE) { // backspace
if (textBuf.size() > 0)
textBuf.deleteLastChar();
- } else {
+ } else if (kbd.ascii) {
// Cannot enter text wider than the save/load panel
if (_enteredTextWidth >= PAN_LINE_WIDTH - 10)
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