aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/font.cpp b/graphics/font.cpp
index 53f04afbe0..0e0ddef5a9 100644
--- a/graphics/font.cpp
+++ b/graphics/font.cpp
@@ -867,7 +867,7 @@ int Font::wordWrapText(const Common::String &str, int maxWidth, Common::StringLi
// lines.
for (Common::String::const_iterator x = str.begin(); x != str.end(); ++x) {
- const char c = *x;
+ const byte c = *x;
const int w = getCharWidth(c);
const bool wouldExceedWidth = (lineWidth + tmpWidth + w > maxWidth);