[Scummvm-cvs-logs] SF.net SVN: scummvm:[43157] scummvm/branches/branch-1-0-0/engines/agos/ saveload.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Sun Aug 9 03:56:43 CEST 2009
Revision: 43157
http://scummvm.svn.sourceforge.net/scummvm/?rev=43157&view=rev
Author: Kirben
Date: 2009-08-09 01:56:43 +0000 (Sun, 09 Aug 2009)
Log Message:
-----------
Backport fix for bug #2834252 - ELVIRA1 Problem with 8-character-long save names.
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/agos/saveload.cpp
Modified: scummvm/branches/branch-1-0-0/engines/agos/saveload.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/agos/saveload.cpp 2009-08-09 01:55:34 UTC (rev 43156)
+++ scummvm/branches/branch-1-0-0/engines/agos/saveload.cpp 2009-08-09 01:56:43 UTC (rev 43157)
@@ -283,7 +283,7 @@
const char *message1;
int i = 0, numSaveGames;
char *name;
- char buf[8];
+ char buf[10];
numSaveGames = countSaveGames();
@@ -312,7 +312,7 @@
for (; *message1; message1++)
windowPutChar(window, *message1);
- memset(buf, 0, 8);
+ memset(buf, 0, 10);
name = buf;
_saveGameNameLen = 0;
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