diff options
Diffstat (limited to 'engines/wintermute/base/font/BFontBitmap.cpp')
-rw-r--r-- | engines/wintermute/base/font/BFontBitmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/font/BFontBitmap.cpp b/engines/wintermute/base/font/BFontBitmap.cpp index 341f90d559..62576cdfea 100644 --- a/engines/wintermute/base/font/BFontBitmap.cpp +++ b/engines/wintermute/base/font/BFontBitmap.cpp @@ -97,7 +97,7 @@ int CBFontBitmap::getTextWidth(byte *text, int maxLength) { //str.substr(0, maxLength); // TODO: Remove
int textWidth = 0;
- for (size_t i = 0; i < str.size(); i++) {
+ for (int i = 0; i < str.size(); i++) {
textWidth += getCharWidth(str[i]);
}
|