From bbb3c5ae9a876fed7faabb599273d5d4e789ffab Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 4 Feb 2017 16:29:24 +0100 Subject: GRAPHICS: Removing Director-specific hack in text width calculation --- graphics/macgui/mactext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3