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

bluegr md5 at scummvm.org
Thu May 3 00:22:43 CEST 2012


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:
d6bedc8a36 AGI: Proper handling of the cancel button when saving/loading


Commit: d6bedc8a36d5a0785f27912cd99a3137a2a7062d
    https://github.com/scummvm/scummvm/commit/d6bedc8a36d5a0785f27912cd99a3137a2a7062d
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2012-05-02T15:20:06-07:00

Commit Message:
AGI: Proper handling of the cancel button when saving/loading

Changed paths:
    engines/agi/saveload.cpp



diff --git a/engines/agi/saveload.cpp b/engines/agi/saveload.cpp
index 8e524c8..d58e55a 100644
--- a/engines/agi/saveload.cpp
+++ b/engines/agi/saveload.cpp
@@ -831,6 +831,9 @@ int AgiEngine::scummVMSaveLoadDialog(bool isSave) {
 
 	delete dialog;
 
+	if (slot < 0)
+		return true;
+	
 	if (isSave)
 		return doSave(slot, desc);
 	else






More information about the Scummvm-git-logs mailing list