aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2005-04-20 18:21:30 +0000
committerMax Horn2005-04-20 18:21:30 +0000
commitc46ea8bc407e60224500e6d6efa08d2ddd6f318e (patch)
tree4800c3beb69f0bfe6d1c6f456e8f5ea58780b6f6 /scumm/string.cpp
parenta18d4d5c2f6dbc985c5b3628228bb6078cf781bb (diff)
downloadscummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.tar.gz
scummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.tar.bz2
scummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.zip
Replaced the platform specific GF_FOO switches (using _platform instead now)
svn-id: r17716
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 48af2b7a32..4778bdbe95 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -235,7 +235,7 @@ void ScummEngine::CHARSET_1() {
if (_charset->_center) {
_charset->_nextLeft -= _charset->getStringWidth(0, buffer) / 2;
}
- if (!(_features & GF_FMTOWNS) && _string[0].height) {
+ if (!(_platform == Common::kPlatformFMTowns) && _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 (!(_features & GF_FMTOWNS) && _string[0].height) {
+ if (!(_platform == Common::kPlatformFMTowns) && _string[0].height) {
_charset->_nextTop += _string[0].height;
} else {
_charset->_top += fontHeight;