aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Mettifogo2007-02-18 09:56:28 +0000
committerNicola Mettifogo2007-02-18 09:56:28 +0000
commitbc17ef29f9c6767258481a43682832df113f7960 (patch)
tree962a711be6adbbcf48bf886cfd56b4285db34414
parent6452e607278ce920f6ff669f779ad7915eac6aec (diff)
downloadscummvm-rg350-bc17ef29f9c6767258481a43682832df113f7960.tar.gz
scummvm-rg350-bc17ef29f9c6767258481a43682832df113f7960.tar.bz2
scummvm-rg350-bc17ef29f9c6767258481a43682832df113f7960.zip
set the size of savegame name to the same length for both saving and loading
svn-id: r25677
-rw-r--r--engines/parallaction/loadsave.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/loadsave.cpp b/engines/parallaction/loadsave.cpp
index c12aa6ad6a..614f883132 100644
--- a/engines/parallaction/loadsave.cpp
+++ b/engines/parallaction/loadsave.cpp
@@ -59,9 +59,9 @@ void Parallaction::doLoadGame(uint16 slot) {
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);