diff options
-rw-r--r-- | queen/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp index 463863f7a7..81a831201d 100644 --- a/queen/graphics.cpp +++ b/queen/graphics.cpp @@ -804,7 +804,7 @@ uint16 Graphics::textLength(const char* text) { uint16 len = 0; while (*text) { - len += FONT_SIZES[ *text ]; + len += FONT_SIZES[ (int)*text ]; ++text; } return len; |