aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2007-07-10 01:26:12 +0000
committerEugene Sandulenko2007-07-10 01:26:12 +0000
commit3ac5498ec79e1081aa947dbff26f345bd9c25098 (patch)
tree3ddd463863d4afb8511ca7d898de3dc9f14148b0
parent1db83059b0a33f910c1d2f78630dccde2dd167b9 (diff)
downloadscummvm-rg350-3ac5498ec79e1081aa947dbff26f345bd9c25098.tar.gz
scummvm-rg350-3ac5498ec79e1081aa947dbff26f345bd9c25098.tar.bz2
scummvm-rg350-3ac5498ec79e1081aa947dbff26f345bd9c25098.zip
Reberting accidental changes.
svn-id: r28000
-rw-r--r--engines/scumm/charset.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index 86b48c3690..ecc6521cba 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -280,7 +280,7 @@ int CharsetRendererCommon::getFontHeight() {
// 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 @@ CharsetRendererV2::CharsetRendererV2(ScummEngine *vm, Common::Language language)
int CharsetRendererV3::getCharWidth(byte chr) {
if (chr & 0x80 && _vm->_useCJKMode)
- return _vm->_2byteWidth;
+ return _vm->_2byteWidth / 2;
int spacing = 0;
spacing = *(_widthTable + chr);