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

digitall digitall at scummvm.org
Wed Jun 8 04:40:59 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:
e3a409b9a4 AGI: Fix Engine Exit While Predictive Dialog Is Open.


Commit: e3a409b9a42af315e8e9fb23c755bdc8357ddcf9
    https://github.com/scummvm/scummvm/commit/e3a409b9a42af315e8e9fb23c755bdc8357ddcf9
Author: D G Turner (digitall at scummvm.org)
Date: 2011-06-07T19:38:52-07:00

Commit Message:
AGI: Fix Engine Exit While Predictive Dialog Is Open.

Changed paths:
    engines/agi/predictive.cpp



diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp
index e45a5a8..edfe83b 100644
--- a/engines/agi/predictive.cpp
+++ b/engines/agi/predictive.cpp
@@ -190,7 +190,7 @@ bool AgiEngine::predictiveDialog() {
 
 	bool needRefresh = true;
 
-	for (;;) {
+	while (!shouldQuit()) {
 		if (needRefresh) {
 			for (int i = 0; buttons[i]; i++) {
 				int color1 = colors[i * 2];






More information about the Scummvm-git-logs mailing list