From 41ca372ef37dca149f4e0c1c9e7503d3f4c2fc09 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 30 May 2003 23:32:02 +0000 Subject: [PATCH] oops svn-id: r8160 --- scumm/string.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scumm/string.cpp b/scumm/string.cpp index a96e1c7e78f..f00835d6e4b 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;