[Scummvm-git-logs] scummvm master -> cc598112052f00cc06229097fa02f5ee1a029179
sev-
sev at scummvm.org
Wed Feb 1 01:07:21 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 .
Summary:
cc59811205 DIRECTOR: Adjust text wrapping by one pixel
Commit: cc598112052f00cc06229097fa02f5ee1a029179
https://github.com/scummvm/scummvm/commit/cc598112052f00cc06229097fa02f5ee1a029179
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-02-01T01:07:14+01:00
Commit Message:
DIRECTOR: Adjust text wrapping by one pixel
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index e411903..c582c4e 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;
+ _maxWidth = maxWidth - 1; // This seems to be correct. TODO: More testing is required
_textMaxWidth = 0;
_textMaxHeight = 0;
_surface = nullptr;
More information about the Scummvm-git-logs
mailing list