diff options
author | Max Horn | 2003-05-30 23:32:02 +0000 |
---|---|---|
committer | Max Horn | 2003-05-30 23:32:02 +0000 |
commit | 41ca372ef37dca149f4e0c1c9e7503d3f4c2fc09 (patch) | |
tree | 31a5821512d6b9632dd17cd10a1e2ab52713380f | |
parent | 9b8f49e9007abac85630d77d2bfdf202f7c86539 (diff) | |
download | scummvm-rg350-41ca372ef37dca149f4e0c1c9e7503d3f4c2fc09.tar.gz scummvm-rg350-41ca372ef37dca149f4e0c1c9e7503d3f4c2fc09.tar.bz2 scummvm-rg350-41ca372ef37dca149f4e0c1c9e7503d3f4c2fc09.zip |
oops
svn-id: r8160
-rw-r--r-- | scumm/string.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index a96e1c7e78..f00835d6e4 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -859,7 +859,8 @@ void Scumm::loadLanguageBundle() { } else { for (i = 0; i < _languageIndexSize; i++) { // First 8 chars in the line give the string ID / 'tag' - for (int j = 0; j < 8 && !isspace(*ptr); j++, ptr++) + int j; + for (j = 0; j < 8 && !isspace(*ptr); j++, ptr++) _languageIndex[i].tag[j] = toupper(*ptr); _languageIndex[i].tag[j] = 0; |