From 165f5f1784797e2c1d522c7efe043ddc617c9f88 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 2 Feb 2017 23:41:58 +0100 Subject: GRAPHICS: Fix MacText wrapping. Kudos to wjp --- graphics/macgui/mactext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/macgui') diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 600f2e9ead..22bd5ecbd2 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -307,7 +307,7 @@ void MacText::recalcDims() { _textLines[i].y = y; y += getLineHeight(i) + _interLinear; - _textMaxWidth = MAX(_textMaxWidth, getLineWidth(i)); + _textMaxWidth = MAX(_textMaxWidth, getLineWidth(i, true)); } _textMaxHeight = y; -- cgit v1.2.3