aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2006-02-03 07:30:29 +0000
committerPaweł Kołodziejski2006-02-03 07:30:29 +0000
commit2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f (patch)
tree9f98ad9bffad38963ce5f2ae1c3da61657180589 /gui/newgui.cpp
parent4df095cb36369c72075744dc3521aa9c2f31218c (diff)
downloadscummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.tar.gz
scummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.tar.bz2
scummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.zip
fixes allow compile with emsvc4 again
svn-id: r20355
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 91e7249d36..f30e23cb64 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -113,10 +113,12 @@ void NewGui::runLoop() {
// This is necessary to get the blending right.
_theme->clearAll();
- for (int i = 0; i < _dialogStack.size(); ++i) {
+ int i;
+
+ for (i = 0; i < _dialogStack.size(); ++i) {
_theme->closeDialog();
}
- for (int i = 0; i < _dialogStack.size(); i++) {
+ for (i = 0; i < _dialogStack.size(); i++) {
_theme->openDialog();
_dialogStack[i]->drawDialog();
}