[Scummvm-cvs-logs] scummvm master -> 5972a6bbe9723b9672d90a815c8d5078e8d9988f

wjp wjp at usecode.org
Wed Mar 2 08:38:14 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5972a6bbe9 SCI: Fix variable name


Commit: 5972a6bbe9723b9672d90a815c8d5078e8d9988f
    https://github.com/scummvm/scummvm/commit/5972a6bbe9723b9672d90a815c8d5078e8d9988f
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-03-01T23:37:22-08:00

Commit Message:
SCI: Fix variable name

Changed paths:
    engines/sci/graphics/ports.cpp



diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 6d52686..924ffaa 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);






More information about the Scummvm-git-logs mailing list