aboutsummaryrefslogtreecommitdiff
path: root/engines/director/cachedmactext.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-01 21:54:05 +0100
committerEugene Sandulenko2019-12-01 21:54:05 +0100
commit64eb072103dcb4789858470ac9d40d4c6f3b8841 (patch)
treed42ff2a255b08ed8a3bd3fbd62b7338c4d1ebb10 /engines/director/cachedmactext.cpp
parentab9c2631f04559f693f6da53e73dcfcf5f72a8c2 (diff)
downloadscummvm-rg350-64eb072103dcb4789858470ac9d40d4c6f3b8841.tar.gz
scummvm-rg350-64eb072103dcb4789858470ac9d40d4c6f3b8841.tar.bz2
scummvm-rg350-64eb072103dcb4789858470ac9d40d4c6f3b8841.zip
GRAPHICS: MACGUI: Fix default font size
Diffstat (limited to 'engines/director/cachedmactext.cpp')
-rw-r--r--engines/director/cachedmactext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/cachedmactext.cpp b/engines/director/cachedmactext.cpp
index c89efc4d06..6d3faff5f6 100644
--- a/engines/director/cachedmactext.cpp
+++ b/engines/director/cachedmactext.cpp
@@ -66,6 +66,7 @@ CachedMacText::CachedMacText(TextCast *const textCast,
:
_surface(NULL), _macText(NULL), _width(defaultWidth), _dirty(true),
_textCast(textCast), _wm(wm) {
+
if (_width == -1) {
if (version >= 4) {
// This came from frame.cpp