From 8609572b879e526d94a3331cebce3322754f81be Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 2 Aug 2017 21:08:46 +0200 Subject: GRAPHICS: MACGUI: Correctly set MacTextWindow internal MacText size --- graphics/macgui/mactext.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'graphics/macgui/mactext.cpp') diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 076322636b..20437021cc 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -82,6 +82,10 @@ MacText::MacText(Common::String s, MacWindowManager *wm, const MacFont *macFont, _fullRefresh = true; } +void MacText::setMaxWidth(int maxWidth) { + _maxWidth = maxWidth; +} + void MacText::splitString(Common::String &str) { const char *s = str.c_str(); -- cgit v1.2.3