mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Shutting up a warning on systems where char is signed by default
svn-id: r34225
This commit is contained in:
@@ -334,7 +334,7 @@ int Draw::stringLength(const char *str, int16 fontIndex) {
|
||||
if (_vm->_global->_language == 10) {
|
||||
|
||||
for (int i = 0; str[i] != 0; i++) {
|
||||
if (str[i+1] < 128) {
|
||||
if (((unsigned char) str[i+1]) < 128) {
|
||||
len += dword_8F74C[4];
|
||||
i++;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user