aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/launcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index fbc7a15d49..50dd35bea0 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -300,8 +300,8 @@ void EditGameDialog::close() {
ConfMan.set("extrapath", extraPath, _domain);
String savePath = _savePathWidget->getLabel();
- if (!extraPath.isEmpty() && (extraPath != "Default"))
- ConfMan.set("savepath", extraPath, _domain);
+ if (!savePath.isEmpty() && (savePath != "Default"))
+ ConfMan.set("savepath", savePath, _domain);
Common::Platform platform = (Common::Platform)_platformPopUp->getSelectedTag();
if (platform < 0)