aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
diff options
context:
space:
mode:
authorBen Castricum2016-12-06 09:25:00 +0100
committerBen Castricum2016-12-06 09:38:25 +0100
commit1cf3f50b7429483409e16994a21c040235abd261 (patch)
treeb9312aa2fe7536be282f9911468386b7f4440236 /engines/toon
parenteb7ffb1e2cce1c77bebc156563d6d46d223b3885 (diff)
downloadscummvm-rg350-1cf3f50b7429483409e16994a21c040235abd261.tar.gz
scummvm-rg350-1cf3f50b7429483409e16994a21c040235abd261.tar.bz2
scummvm-rg350-1cf3f50b7429483409e16994a21c040235abd261.zip
ALL: Unify 'wrong version of engine data' message
Diffstat (limited to 'engines/toon')
-rw-r--r--engines/toon/toon.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 25eb7ad1d4..ae1f8f1050 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -4937,7 +4937,9 @@ bool ToonEngine::loadToonDat() {
minVer = in.readByte();
if ((majVer != TOON_DAT_VER_MAJ) || (minVer != TOON_DAT_VER_MIN)) {
- msg = Common::String::format(_("File 'toon.dat' is wrong version. Expected %d.%d but got %d.%d. Get it from the ScummVM website"), TOON_DAT_VER_MAJ, TOON_DAT_VER_MIN, majVer, minVer);
+ msg = Common::String::format(
+ _("Incorrect version of the '%s' file found. Expected %d.%d but got %d.%d. Get it from the ScummVM website"),
+ filename.c_str(), TOON_DAT_VER_MAJ, TOON_DAT_VER_MIN, majVer, minVer);
GUIErrorMessage(msg);
warning("%s", msg.c_str());