aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index f2221d0c3c..5a7bbc4f9a 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -1136,7 +1136,7 @@ int Screen::getFontWidth() const {
int Screen::getCharWidth(uint16 c) const {
if ((c & 0xFF00) && _sjisFont)
- return _sjisFont->getFontWidth() >> 1;
+ return _sjisFont->getMaxFontWidth() >> 1;
return _fonts[_currentFont]->getCharWidth(c) + _charWidth;
}
@@ -3092,7 +3092,7 @@ void Screen::drawCharSJIS(uint16 c, int x, int y) {
}
if (_curPage == 0 || _curPage == 1)
- addDirtyRect(x, y, _sjisFont->getFontWidth() >> 1, _sjisFont->getFontHeight() >> 1);
+ addDirtyRect(x, y, _sjisFont->getMaxFontWidth() >> 1, _sjisFont->getFontHeight() >> 1);
x <<= 1;
y <<= 1;