From 0057e15014d670c0af7989af4d6ad98b755e7948 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 29 Aug 2011 09:28:07 +0000 Subject: If no Cookies file path is set in Choices file, use default of "~/.netsurf/Cookies". svn path=/trunk/netsurf/; revision=12675 --- framebuffer/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framebuffer/gui.c') diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 85f776baf..ef39a1643 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -457,12 +457,12 @@ gui_init(int argc, char** argv) LOG(("Using '%s' as AdBlock CSS URL", adblock_stylesheet_url)); if (option_cookie_file == NULL) { - option_cookie_file = filepath_find(respaths, "Cookies"); + option_cookie_file = strdup("~/.netsurf/Cookies"); LOG(("Using '%s' as Cookies file", option_cookie_file)); } if (option_cookie_jar == NULL) { - option_cookie_jar = filepath_find(respaths, "Cookies"); + option_cookie_jar = strdup("~/.netsurf/Cookies"); LOG(("Using '%s' as Cookie Jar file", option_cookie_jar)); } -- cgit v1.2.3