diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/font.cpp b/graphics/font.cpp index 4f53dfe858..7768b7362d 100644 --- a/graphics/font.cpp +++ b/graphics/font.cpp @@ -227,7 +227,7 @@ int wordWrapTextImpl(const Font &font, const StringType &str, int maxWidth, Comm if (lineWidth > 0) { wrapper.add(line, lineWidth); } - return MAX(wrapper.actualMaxLineWidth, maxWidth); + return wrapper.actualMaxLineWidth; } } // End of anonymous namespace |