aboutsummaryrefslogtreecommitdiff
path: root/engines/dialogs.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2008-11-09 17:53:37 +0000
committerFilippos Karapetis2008-11-09 17:53:37 +0000
commitbf857a73fe69576909045a00f2ec318302ae84fb (patch)
tree5d8e48cb0d70cf4cf16683d8e602d20b095646c4 /engines/dialogs.cpp
parented1b12571b7ba9822e9776a31e427a829d4020cf (diff)
downloadscummvm-rg350-bf857a73fe69576909045a00f2ec318302ae84fb.tar.gz
scummvm-rg350-bf857a73fe69576909045a00f2ec318302ae84fb.tar.bz2
scummvm-rg350-bf857a73fe69576909045a00f2ec318302ae84fb.zip
Save game descriptions are now set correctly in the GMM save dialog
svn-id: r34965
Diffstat (limited to 'engines/dialogs.cpp')
-rw-r--r--engines/dialogs.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp
index ce7907f965..9ef5ba749a 100644
--- a/engines/dialogs.cpp
+++ b/engines/dialogs.cpp
@@ -166,9 +166,7 @@ void MainMenuDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
int slot = _saveDialog->runModal(plugin, ConfMan.getActiveDomainName());
if (slot >= 0) {
- // FIXME: at this point, the save list's selItem is -1!
- //Common::String result(_saveDialog->getResultString());
- Common::String result;
+ Common::String result(_saveDialog->getResultString());
if (result.empty()) {
// If the user was lazy and entered no save name, come up with a default name.
char buf[20];