diff options
Diffstat (limited to 'gtk/gui.c')
-rw-r--r-- | gtk/gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -287,7 +287,7 @@ static void check_options(char **respath) if (nsoption_charp(downloads_directory) == NULL) { LOG(("Using '%s' as download directory", hdir)); - nsoption_set_charp(downloads_directory, hdir); + nsoption_set_charp(downloads_directory, strdup(hdir)); } filepath_sfinddef(respath, buf, "icons/", "~/.netsurf/"); |