[Scummvm-cvs-logs] SF.net SVN: scummvm:[35445] scummvm/trunk/engines/agi/text.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Fri Dec 19 22:22:26 CET 2008
Revision: 35445
http://scummvm.svn.sourceforge.net/scummvm/?rev=35445&view=rev
Author: eriktorbjorn
Date: 2008-12-19 21:22:26 +0000 (Fri, 19 Dec 2008)
Log Message:
-----------
Allow quitting / returning to launcher while showing "selection boxes", e.g. the
pause game dialog.
Modified Paths:
--------------
scummvm/trunk/engines/agi/text.cpp
Modified: scummvm/trunk/engines/agi/text.cpp
===================================================================
--- scummvm/trunk/engines/agi/text.cpp 2008-12-19 19:12:29 UTC (rev 35444)
+++ scummvm/trunk/engines/agi/text.cpp 2008-12-19 21:22:26 UTC (rev 35445)
@@ -364,7 +364,7 @@
AllowSyntheticEvents on(this);
debugC(4, kDebugLevelText, "waiting...");
- for (;;) {
+ while (!shouldQuit()) {
for (i = 0; b[i]; i++)
_gfx->drawCurrentStyleButton(bx[i], by[i], b[i], i == active, false, i == 0);
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