[Scummvm-cvs-logs] SF.net SVN: scummvm:[35442] scummvm/trunk/engines/agi/saveload.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Fri Dec 19 18:31:14 CET 2008
Revision: 35442
http://scummvm.svn.sourceforge.net/scummvm/?rev=35442&view=rev
Author: eriktorbjorn
Date: 2008-12-19 17:31:14 +0000 (Fri, 19 Dec 2008)
Log Message:
-----------
Allow quitting/returning to launcher while in the save/load dialog. I don't
know if there are other such spots that need to be fixed as well.
Modified Paths:
--------------
scummvm/trunk/engines/agi/saveload.cpp
Modified: scummvm/trunk/engines/agi/saveload.cpp
===================================================================
--- scummvm/trunk/engines/agi/saveload.cpp 2008-12-19 17:21:55 UTC (rev 35441)
+++ scummvm/trunk/engines/agi/saveload.cpp 2008-12-19 17:31:14 UTC (rev 35442)
@@ -564,7 +564,7 @@
int oldFirstSlot = _firstSlot + 1;
int oldActive = active + 1;
- for (;;) {
+ while (!shouldQuit()) {
int sbPos = 0;
// Use the extreme scrollbar positions only if the extreme
@@ -739,7 +739,6 @@
sprintf(fileName, "%s", getSavegameFilename(slot));
-
do {
drawWindow(hp, vp, GFX_WIDTH - hp, GFX_HEIGHT - vp);
printText("Select a slot in which you wish to\nsave the game:",
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