diff options
author | Max Horn | 2008-09-01 21:30:38 +0000 |
---|---|---|
committer | Max Horn | 2008-09-01 21:30:38 +0000 |
commit | 900f95ba5bc5b512d824e929e97a4031a0247464 (patch) | |
tree | 54deb9de298cd0e8e30366d7aff2f59c29cf239a /gui | |
parent | 40e05acff329563df6432ad998f99074acb43486 (diff) | |
download | scummvm-rg350-900f95ba5bc5b512d824e929e97a4031a0247464.tar.gz scummvm-rg350-900f95ba5bc5b512d824e929e97a4031a0247464.tar.bz2 scummvm-rg350-900f95ba5bc5b512d824e929e97a4031a0247464.zip |
cleanup
svn-id: r34264
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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 |