[Scummvm-cvs-logs] SF.net SVN: scummvm: [28000] scummvm/trunk/engines/scumm/charset.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Tue Jul 10 03:26:12 CEST 2007
Revision: 28000
http://scummvm.svn.sourceforge.net/scummvm/?rev=28000&view=rev
Author: sev
Date: 2007-07-09 18:26:12 -0700 (Mon, 09 Jul 2007)
Log Message:
-----------
Reberting accidental changes.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/charset.cpp
Modified: scummvm/trunk/engines/scumm/charset.cpp
===================================================================
--- scummvm/trunk/engines/scumm/charset.cpp 2007-07-10 01:21:58 UTC (rev 27999)
+++ scummvm/trunk/engines/scumm/charset.cpp 2007-07-10 01:26:12 UTC (rev 28000)
@@ -280,7 +280,7 @@
// do spacing for variable width old-style font
int CharsetRendererClassic::getCharWidth(byte chr) {
if (chr >= 0x80 && _vm->_useCJKMode)
- return _vm->_2byteWidth;
+ return _vm->_2byteWidth / 2;
int spacing = 0;
int offs = READ_LE_UINT32(_fontPtr + chr * 4 + 4);
@@ -1164,7 +1164,7 @@
int CharsetRendererV3::getCharWidth(byte chr) {
if (chr & 0x80 && _vm->_useCJKMode)
- return _vm->_2byteWidth;
+ return _vm->_2byteWidth / 2;
int spacing = 0;
spacing = *(_widthTable + chr);
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