diff options
Diffstat (limited to 'engines/wintermute/ui/ui_object.cpp')
-rw-r--r-- | engines/wintermute/ui/ui_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ui/ui_object.cpp b/engines/wintermute/ui/ui_object.cpp index 9fe9cd18e4..d1a13200c8 100644 --- a/engines/wintermute/ui/ui_object.cpp +++ b/engines/wintermute/ui/ui_object.cpp @@ -102,7 +102,7 @@ void UIObject::setText(const char *text) { _text = new char [strlen(text) + 1];
if (_text) {
strcpy(_text, text);
- for (int i = 0; i < strlen(_text); i++) {
+ for (uint32 i = 0; i < strlen(_text); i++) {
if (_text[i] == '|') {
_text[i] = '\n';
}
|