diff options
author | Nicolas Bacca | 2003-12-20 01:17:02 +0000 |
---|---|---|
committer | Nicolas Bacca | 2003-12-20 01:17:02 +0000 |
commit | 9e1dda1f682c5e3b3f3c34fccce5caf7095ecbbe (patch) | |
tree | 7931ccd3f9fbbf5252fd72e13051d05efa072780 /sword2/controls.cpp | |
parent | c2c250edc1b98b63cd73254a446d84cb12b23527 (diff) | |
download | scummvm-rg350-9e1dda1f682c5e3b3f3c34fccce5caf7095ecbbe.tar.gz scummvm-rg350-9e1dda1f682c5e3b3f3c34fccce5caf7095ecbbe.tar.bz2 scummvm-rg350-9e1dda1f682c5e3b3f3c34fccce5caf7095ecbbe.zip |
Make VC6/EVC happier
svn-id: r11764
Diffstat (limited to 'sword2/controls.cpp')
-rw-r--r-- | sword2/controls.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp index f05083260e..a2c3c8e684 100644 --- a/sword2/controls.cpp +++ b/sword2/controls.cpp @@ -1255,6 +1255,7 @@ public: int textWidth; char tmp; int i; + int j; switch (result) { case kWheelUp: @@ -1274,7 +1275,7 @@ public: if (widget == _slotButton[i]) break; - for (int j = 0; j < 8; j++) { + for (j = 0; j < 8; j++) { if (j != i) { _slotButton[j]->setEditable(false); _slotButton[j]->setState(0); |