aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2004-07-01 10:24:42 +0000
committerJames Brown2004-07-01 10:24:42 +0000
commit06dc6a2c4e45e7131c08f6cf86ecd0c9f17e9b44 (patch)
tree2910642aa2a9d2df86daea808fde496dfe87843b
parenta6068ff5ae65cf4a5b74a8514feb9ebdbc826bd1 (diff)
downloadscummvm-rg350-06dc6a2c4e45e7131c08f6cf86ecd0c9f17e9b44.tar.gz
scummvm-rg350-06dc6a2c4e45e7131c08f6cf86ecd0c9f17e9b44.tar.bz2
scummvm-rg350-06dc6a2c4e45e7131c08f6cf86ecd0c9f17e9b44.zip
Backport C&P bug from local tree
svn-id: r14143
-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)