aboutsummaryrefslogtreecommitdiff
path: root/queen/journal.cpp
diff options
context:
space:
mode:
authorGregory Montoir2003-12-28 15:29:05 +0000
committerGregory Montoir2003-12-28 15:29:05 +0000
commit67159d453998c3aae395f4fba943111884ea03e7 (patch)
tree1bc55bb8cec4f65bcaf6b55b355b3dc6bed76634 /queen/journal.cpp
parent6ae8218d537a2b627a0abad597d5084c796d1de8 (diff)
downloadscummvm-rg350-67159d453998c3aae395f4fba943111884ea03e7.tar.gz
scummvm-rg350-67159d453998c3aae395f4fba943111884ea03e7.tar.bz2
scummvm-rg350-67159d453998c3aae395f4fba943111884ea03e7.zip
cleanup Resource class a bit :
- re-use some methods to read the resource table (normal / compressed) - removed _gameVersion member as we can do without it (and is mostly useless in case of a compressed data file) ; now, we use the 'JAS version string' as it is sufficient to detect if the game is a floppy version / demo etc. - const'ness - tweaked checkJASVersion() for interview mini game removed (useless) dirty hack in Logic::changeRoom() to setup initial scene in demos (pclogo.cut doesn't exist at all !) svn-id: r11998
Diffstat (limited to 'queen/journal.cpp')
-rw-r--r--queen/journal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/journal.cpp b/queen/journal.cpp
index f2e36ff550..076e92402a 100644
--- a/queen/journal.cpp
+++ b/queen/journal.cpp
@@ -543,7 +543,7 @@ void Journal::showInformationBox() {
_vm->graphics()->textSetCentered(144, "Fran\x87""ais", false);
break;
}
- char versionId[12];
+ char versionId[13];
sprintf(versionId, "Version %c.%c%c", ver[2], ver[3], ver[4]);
_vm->graphics()->textSetCentered(156, versionId, false);
}