[Scummvm-cvs-logs] SF.net SVN: scummvm: [31399] scummvm/trunk/engines/kyra/gui_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Apr 5 04:50:38 CEST 2008


Revision: 31399
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31399&view=rev
Author:   lordhoto
Date:     2008-04-04 19:50:38 -0700 (Fri, 04 Apr 2008)

Log Message:
-----------
Small fix in processButtonList.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_v2.cpp

Modified: scummvm/trunk/engines/kyra/gui_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_v2.cpp	2008-04-05 02:42:29 UTC (rev 31398)
+++ scummvm/trunk/engines/kyra/gui_v2.cpp	2008-04-05 02:50:38 UTC (rev 31399)
@@ -426,8 +426,10 @@
 
 	int returnValue = 0;
 	while (buttonList) {
-		if (buttonList->flags & 8)
+		if (buttonList->flags & 8) {
+			buttonList = buttonList->nextButton;
 			continue;
+		}
 		buttonList->flags2 &= 0xFFE7;
 		buttonList->flags2 |= (buttonList->flags2 & 3) << 3;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list