[Scummvm-cvs-logs] SF.net SVN: scummvm:[51211] scummvm/trunk/engines/scumm/string.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Fri Jul 23 18:38:08 CEST 2010
Revision: 51211
http://scummvm.svn.sourceforge.net/scummvm/?rev=51211&view=rev
Author: sev
Date: 2010-07-23 16:38:06 +0000 (Fri, 23 Jul 2010)
Log Message:
-----------
SCUMM: Fix subtitles for Russian The Dig
It is a long standing bug which was revealed by r31784. With that commit
Kirben switched DIG code to newer one. Russian version used 0x03 as
placeholders for keeping string widths. Original did not copy those
characters but we did hence the bug. Based on study of original.
Restrict it to Dig-only in order to avoid regressions.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/string.cpp
Modified: scummvm/trunk/engines/scumm/string.cpp
===================================================================
--- scummvm/trunk/engines/scumm/string.cpp 2010-07-23 15:07:42 UTC (rev 51210)
+++ scummvm/trunk/engines/scumm/string.cpp 2010-07-23 16:38:06 UTC (rev 51211)
@@ -1110,6 +1110,8 @@
}
num += (_game.version == 8) ? 4 : 2;
}
+ } else if (_game.id == GID_DIG && (chr == 1 || chr == 2 || chr == 3 || chr == 8)) {
+ // Skip these characters
} else {
if (!(chr == '@') || (_game.id == GID_CMI && _language == Common::ZH_TWN) ||
(_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine && _language == Common::JA_JPN))
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