diff options
author | Eugene Sandulenko | 2017-02-01 19:06:36 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-02-01 19:06:36 +0100 |
commit | d39404c8e8144af504f8a4dfef69f2009c05582e (patch) | |
tree | 9a296c674d7cf9d2188d83b0a15bacbd8c28b94d /graphics/macgui/mactext.h | |
parent | 6e3e8911c1a065867d4d6000f42f5d05ca5fec4a (diff) | |
download | scummvm-rg350-d39404c8e8144af504f8a4dfef69f2009c05582e.tar.gz scummvm-rg350-d39404c8e8144af504f8a4dfef69f2009c05582e.tar.bz2 scummvm-rg350-d39404c8e8144af504f8a4dfef69f2009c05582e.zip |
GRAPHICS: Fix rendering of MacText with font change in the middle of the string
Diffstat (limited to 'graphics/macgui/mactext.h')
-rw-r--r-- | graphics/macgui/mactext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h index 90f85e6b22..2ce0c3065b 100644 --- a/graphics/macgui/mactext.h +++ b/graphics/macgui/mactext.h @@ -105,7 +105,7 @@ private: void render(int from, int to); void recalcDims(); void reallocSurface(); - int getLineWidth(int line); + int getLineWidth(int line, bool enforce = false); int getLineHeight(int line); private: |