[Scummvm-git-logs] scummvm master -> 165f5f1784797e2c1d522c7efe043ddc617c9f88

sev- sev at scummvm.org
Thu Feb 2 23:42:27 CET 2017

This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

165f5f1784 GRAPHICS: Fix MacText wrapping. Kudos to wjp

Commit: 165f5f1784797e2c1d522c7efe043ddc617c9f88
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-02-02T23:41:58+01:00

Commit Message:
GRAPHICS: Fix MacText wrapping. Kudos to wjp

Changed paths:

diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 600f2e9..22bd5ec 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;

More information about the Scummvm-git-logs mailing list