diff options
| author | Eugene Sandulenko | 2017-02-01 01:06:01 +0100 |
|---|---|---|
| committer | Eugene Sandulenko | 2017-02-01 01:07:14 +0100 |
| commit | cc598112052f00cc06229097fa02f5ee1a029179 (patch) | |
| tree | 0423d48fbbf0f55753e0beecb498e75c91fb36ff /graphics | |
| parent | 6ef42cbe922b8f58c643dc648f481b096b82f451 (diff) | |
| download | scummvm-rg350-cc598112052f00cc06229097fa02f5ee1a029179.tar.gz scummvm-rg350-cc598112052f00cc06229097fa02f5ee1a029179.tar.bz2 scummvm-rg350-cc598112052f00cc06229097fa02f5ee1a029179.zip | |
DIRECTOR: Adjust text wrapping by one pixel
Diffstat (limited to 'graphics')
| -rw-r--r-- | graphics/macgui/mactext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index e4119039b0..c582c4ec03 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; |
