aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-04-06 02:59:03 +0000
committerTravis Howell2005-04-06 02:59:03 +0000
commitde94c2411a908d0c216470896e113a96d53a1d1e (patch)
treec3d95b2ae54ba492366da785601c9699b373146f
parentf7ae1b822d353f44772a2fe6826bda83c6bd8682 (diff)
downloadscummvm-rg350-de94c2411a908d0c216470896e113a96d53a1d1e.tar.gz
scummvm-rg350-de94c2411a908d0c216470896e113a96d53a1d1e.tar.bz2
scummvm-rg350-de94c2411a908d0c216470896e113a96d53a1d1e.zip
Fix bug #1177489 - FM-TOWNS LOOM: Multiple text lines spacing incorrect
The string height setting is ignored in FM Towns version. svn-id: r17408
-rw-r--r--scumm/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 019baf4642..5e18119d0a 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -234,7 +234,7 @@ void ScummEngine::CHARSET_1() {
if (_charset->_center) {
_charset->_nextLeft -= _charset->getStringWidth(0, buffer) / 2;
}
- if (_string[0].height) {
+ if (!(_features & GF_FMTOWNS) && _string[0].height) {
_charset->_nextTop += _string[0].height;
} else {
_charset->_nextTop += _charset->getFontHeight();
@@ -505,7 +505,7 @@ void ScummEngine::drawString(int a, const byte *msg) {
} else {
_charset->_left = _charset->_startLeft;
}
- if (_string[0].height) {
+ if (!(_features & GF_FMTOWNS) && _string[0].height) {
_charset->_nextTop += _string[0].height;
} else {
_charset->_top += fontHeight;