aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-04 16:29:24 +0100
committerEugene Sandulenko2017-02-04 16:29:24 +0100
commitbbb3c5ae9a876fed7faabb599273d5d4e789ffab (patch)
tree9cb6da9063a60071d76ebc9676bdad875c907576 /graphics/macgui
parent906d94a7422eb679f9051ad31c4cad5a83804799 (diff)
downloadscummvm-rg350-bbb3c5ae9a876fed7faabb599273d5d4e789ffab.tar.gz
scummvm-rg350-bbb3c5ae9a876fed7faabb599273d5d4e789ffab.tar.bz2
scummvm-rg350-bbb3c5ae9a876fed7faabb599273d5d4e789ffab.zip
GRAPHICS: Removing Director-specific hack in text width calculation
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/mactext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 2064681874..4042088761 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -43,7 +43,7 @@ MacText::MacText(Common::String s, MacWindowManager *wm, const Font *font, int f
_font = font;
_fgcolor = fgcolor;
_bgcolor = bgcolor;
- _maxWidth = maxWidth - 1; // This seems to be correct. TODO: More testing is required
+ _maxWidth = maxWidth;
_textMaxWidth = 0;
_textMaxHeight = 0;
_surface = nullptr;