DREAMWEB: Fixed size of the save file title

This commit is contained in:
Vladimir Menshakov 2011-06-16 10:41:47 +04:00
parent 6bb745c16e
commit 3da9bf5cc9

View file

@ -105,7 +105,7 @@ SaveStateList DreamWebMetaEngine::listSaves(const char *target) const {
Common::InSaveFile *stream = saveFileMan->openForLoading(file);
if (!stream)
error("cannot open save file %s", file.c_str());
char name[13] = {};
char name[17] = {};
stream->seek(0x61);
stream->read(name, sizeof(name) - 1);
delete stream;