[Scummvm-cvs-logs] scummvm master -> c3339c15fad1f729dd55d5f4780c5d483643b59c

fuzzie fuzzie at fuzzie.org
Sat Aug 13 22:11:31 CEST 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:
c3339c15fa COMPOSER: Tweak button z-ordering slightly.


Commit: c3339c15fad1f729dd55d5f4780c5d483643b59c
    https://github.com/scummvm/scummvm/commit/c3339c15fad1f729dd55d5f4780c5d483643b59c
Author: Alyssa Milburn (fuzzie at fuzzie.org)
Date: 2011-08-13T13:08:42-07:00

Commit Message:
COMPOSER: Tweak button z-ordering slightly.

This fixes agreeing to make ice cream sundaes in Gregory.

Changed paths:
    engines/composer/composer.cpp



diff --git a/engines/composer/composer.cpp b/engines/composer/composer.cpp
index 41afc13..d3252d4 100644
--- a/engines/composer/composer.cpp
+++ b/engines/composer/composer.cpp
@@ -321,7 +321,7 @@ void ComposerEngine::loadLibrary(uint id) {
 
 		bool inserted = false;
 		for (Common::List<Button>::iterator b = newLib._buttons.begin(); b != newLib._buttons.end(); b++) {
-			if (button._zorder <= b->_zorder)
+			if (button._zorder < b->_zorder)
 				continue;
 			newLib._buttons.insert(b, button);
 			inserted = true;






More information about the Scummvm-git-logs mailing list