aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-03-02 08:37:22 +0100
committerWillem Jan Palenstijn2011-03-02 08:37:22 +0100
commit5972a6bbe9723b9672d90a815c8d5078e8d9988f (patch)
tree34d6fe14076c6b3252572334d8c176507b49ced0 /engines/sci/graphics
parentc3d8f5610f6e5e4259e93b4f59fa7a8c73b7d652 (diff)
downloadscummvm-rg350-5972a6bbe9723b9672d90a815c8d5078e8d9988f.tar.gz
scummvm-rg350-5972a6bbe9723b9672d90a815c8d5078e8d9988f.tar.bz2
scummvm-rg350-5972a6bbe9723b9672d90a815c8d5078e8d9988f.zip
SCI: Fix variable name
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/ports.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 6d5268625c..924ffaa7e7 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -308,9 +308,9 @@ Window *GfxPorts::addWindow(const Common::Rect &dims, const Common::Rect *restor
// Hoyle3-demo's NewWindow always adds windows to the back of the list.
// TODO: Determine if other interpreters do the same.
- bool _forceToBack = (g_sci->getGameId() == GID_HOYLE3 && g_sci->isDemo());
+ bool forceToBack = (g_sci->getGameId() == GID_HOYLE3 && g_sci->isDemo());
- if (!_forceToBack && (style & SCI_WINDOWMGR_STYLE_TOPMOST))
+ if (!forceToBack && (style & SCI_WINDOWMGR_STYLE_TOPMOST))
_windowList.push_front(pwnd);
else
_windowList.push_back(pwnd);