diff options
Diffstat (limited to 'src/prefs.c')
-rw-r--r-- | src/prefs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c index 58ac5c32..234c9288 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -23,6 +23,7 @@ #define PREFS_SAVE_DIR "/tmp/" #define PREFS_HTTP_REFERER "host" #define PREFS_HTTP_USER_AGENT "Dillo/" VERSION +#define PREFS_THEME "none" /*----------------------------------------------------------------------------- * Global Data @@ -98,6 +99,7 @@ void a_Prefs_init(void) prefs.show_url = TRUE; prefs.small_icons = FALSE; prefs.start_page = a_Url_new(PREFS_START_PAGE, NULL); + prefs.theme = dStrdup(PREFS_THEME); prefs.w3c_plus_heuristics = TRUE; } @@ -126,4 +128,5 @@ void a_Prefs_freeall(void) dFree(dList_nth_data(prefs.search_urls, i)); dList_free(prefs.search_urls); a_Url_free(prefs.start_page); + dFree(prefs.theme); } |