[Scummvm-cvs-logs] SF.net SVN: scummvm:[33544] scummvm/trunk/engines/scumm

sev at users.sourceforge.net sev at users.sourceforge.net
Sat Aug 2 23:36:11 CEST 2008


Revision: 33544
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33544&view=rev
Author:   sev
Date:     2008-08-02 21:36:08 +0000 (Sat, 02 Aug 2008)

Log Message:
-----------
Fix bug #2023727: "MONKEY2: Misplaced Text"

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/charset.cpp
    scummvm/trunk/engines/scumm/string.cpp

Modified: scummvm/trunk/engines/scumm/charset.cpp
===================================================================
--- scummvm/trunk/engines/scumm/charset.cpp	2008-08-02 21:32:09 UTC (rev 33543)
+++ scummvm/trunk/engines/scumm/charset.cpp	2008-08-02 21:36:08 UTC (rev 33544)
@@ -49,7 +49,7 @@
 	Common::File fp;
 	_useCJKMode = false;
 	_textSurfaceMultiplier = 1;
-	_newLineCharacter = 0xfe;
+	_newLineCharacter = 0;
 
 	if (_game.version <= 5 && _game.platform == Common::kPlatformFMTowns && _language == Common::JA_JPN) { // FM-TOWNS v3 / v5 Kanji
 		int numChar = 256 * 32;

Modified: scummvm/trunk/engines/scumm/string.cpp
===================================================================
--- scummvm/trunk/engines/scumm/string.cpp	2008-08-02 21:32:09 UTC (rev 33543)
+++ scummvm/trunk/engines/scumm/string.cpp	2008-08-02 21:36:08 UTC (rev 33544)
@@ -279,7 +279,7 @@
 		}
 		c = *buffer++;
 
-		if (c == _newLineCharacter) {
+		if (_newLineCharacter != 0 && c == _newLineCharacter) {
 			c = 13;
 			break;
 		}


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