[Scummvm-cvs-logs] SF.net SVN: scummvm: [21893] scummvm/trunk/engines/simon/oracle.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Fri Apr 14 15:31:00 CEST 2006


Revision: 21893
Author:   kirben
Date:     2006-04-14 15:30:34 -0700 (Fri, 14 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21893&view=rev

Log Message:
-----------
Fix another glitch in save game interface of FF

Modified Paths:
--------------
    scummvm/trunk/engines/simon/oracle.cpp
Modified: scummvm/trunk/engines/simon/oracle.cpp
===================================================================
--- scummvm/trunk/engines/simon/oracle.cpp	2006-04-14 22:29:51 UTC (rev 21892)
+++ scummvm/trunk/engines/simon/oracle.cpp	2006-04-14 22:30:34 UTC (rev 21893)
@@ -400,7 +400,6 @@
 			writeVariable(55, _keyPressed);
 			break;
 		}
-
 		if (_keyPressed == 10 || _keyPressed == 13) {
 			if (!saveGame(readVariable(55), name))
 				writeVariable(55, 0xFFFF);
@@ -414,13 +413,13 @@
 			window->textColumn -= getFeebleFontSize(chr);
 			name[len] = 0;
 			windowBackSpace(_windowArray[3]);
-			windowPutChar(window, 0x7f);
 		}
 		if (_keyPressed >= 32 && window->textColumn + 26 <= window->width) {
 			name[len++] = _keyPressed;
 			windowPutChar(_windowArray[3], _keyPressed);
-			windowPutChar(window, 0x7f);
 		}
+
+		windowPutChar(window, 0x7f);
 	}
 }
 


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