[Scummvm-cvs-logs] SF.net SVN: scummvm:[34264] scummvm/trunk/gui/launcher.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Sep 1 23:30:39 CEST 2008


Revision: 34264
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34264&view=rev
Author:   fingolfin
Date:     2008-09-01 21:30:38 +0000 (Mon, 01 Sep 2008)

Log Message:
-----------
cleanup

Modified Paths:
--------------
    scummvm/trunk/gui/launcher.cpp

Modified: scummvm/trunk/gui/launcher.cpp
===================================================================
--- scummvm/trunk/gui/launcher.cpp	2008-09-01 21:13:11 UTC (rev 34263)
+++ scummvm/trunk/gui/launcher.cpp	2008-09-01 21:30:38 UTC (rev 34264)
@@ -968,12 +968,13 @@
 					if (_loadDialog->delSave()) {
 						String filename = saveList[idx].filename();
 						//printf("Deleting file: %s\n", filename.c_str());
-                                                MessageDialog alert("Do you really want to delete this savegame?", 
-									"Yes", "No");
+						MessageDialog alert("Do you really want to delete this savegame?", 
+									"Delete", "Cancel");
 						if (alert.runModal() == GUI::kMessageOK) {
 							saveFileMan->removeSavefile(filename.c_str());
-						  	if ((saveList.size() - 1) == 0)
-								ConfMan.setInt("save_slot", -1);
+						  	if ((saveList.size() - 1) == 0) {
+								//ConfMan.setInt("save_slot", -1);
+							}
 						}
 					}
 					// Load the savegame


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