changeset 42:42bc9637b93d

Fixed a bug in the save_dir patch
author jcid
date Sun, 11 Nov 2007 22:52:28 +0100
parents 056feff72441
children 3d485d0e4a6a
files src/uicmd.cc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/uicmd.cc	Sun Nov 11 20:22:50 2007 +0100
+++ b/src/uicmd.cc	Sun Nov 11 22:52:28 2007 +0100
@@ -409,8 +409,7 @@
    const char *name;
    char *SuggestedName;
 
-   // BUG: this should be set by preferences.
-   a_UIcmd_set_save_dir("/tmp/k/");
+   a_UIcmd_set_save_dir(prefs.save_dir);
 
    SuggestedName = UIcmd_make_save_filename(URL_STR(url));
    name = a_Dialog_save_file("Save Link as File", NULL, SuggestedName);