[Scummvm-cvs-logs] SF.net SVN: scummvm: [25677] scummvm/trunk/engines/parallaction/loadsave. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Feb 18 10:56:29 CET 2007


Revision: 25677
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25677&view=rev
Author:   peres001
Date:     2007-02-18 01:56:28 -0800 (Sun, 18 Feb 2007)

Log Message:
-----------
set the size of savegame name to the same length for both saving and loading

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/loadsave.cpp

Modified: scummvm/trunk/engines/parallaction/loadsave.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/loadsave.cpp	2007-02-18 09:36:47 UTC (rev 25676)
+++ scummvm/trunk/engines/parallaction/loadsave.cpp	2007-02-18 09:56:28 UTC (rev 25677)
@@ -59,9 +59,9 @@
 	Common::InSaveFile *f = _saveFileMan->openForLoading(filename);
 	if (!f) return;
 
-	char s[20];
+	char s[30];
 
-	f->readLine(s, 19);
+	f->readLine(s, 29);
 
 	f->readLine(_vm->_characterName, 15);
 	f->readLine(_location, 15);


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