From 900f95ba5bc5b512d824e929e97a4031a0247464 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 1 Sep 2008 21:30:38 +0000 Subject: cleanup svn-id: r34264 --- gui/launcher.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gui') diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 40e0c3685e..b32f103dcc 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -968,12 +968,13 @@ void LauncherDialog::loadGame(int item) { 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 -- cgit v1.2.3