[Scummvm-cvs-logs] SF.net SVN: scummvm:[48742] scummvm/trunk/engines/sci/graphics/text16.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Tue Apr 20 13:13:09 CEST 2010
Revision: 48742
http://scummvm.svn.sourceforge.net/scummvm/?rev=48742&view=rev
Author: m_kiewitz
Date: 2010-04-20 11:13:09 +0000 (Tue, 20 Apr 2010)
Log Message:
-----------
SCI: sq4/japanese uses sjis 0x9781 for line breaks as well
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/text16.cpp
Modified: scummvm/trunk/engines/sci/graphics/text16.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/text16.cpp 2010-04-20 10:13:27 UTC (rev 48741)
+++ scummvm/trunk/engines/sci/graphics/text16.cpp 2010-04-20 11:13:09 UTC (rev 48742)
@@ -190,6 +190,7 @@
curCharCount++;
// it's meant to pass through here
case 0xA:
+ case 0x9781: // this one is used by SQ4/japanese as line break as well
curCharCount++;
// and it's also meant to pass through here
case 0:
@@ -233,6 +234,7 @@
switch (curChar) {
case 0x0A:
case 0x0D:
+ case 0x9781: // this one is used by SQ4/japanese as line break as well
textHeight = MAX<int16> (textHeight, _ports->_curPort->fontHeight);
break;
case 0x7C:
@@ -325,6 +327,7 @@
case 0x0A:
case 0x0D:
case 0:
+ case 0x9781: // this one is used by SQ4/japanese as line break as well
break;
case 0x7C:
if (getSciVersion() >= SCI_VERSION_1_1) {
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