summaryrefslogtreecommitdiff
path: root/src/prefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs.c')
-rw-r--r--src/prefs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c
index a8f34b02..f9186ab3 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -51,9 +51,11 @@ void init_Prefs(iPrefs *d) {
51 init_String(&d->gopherProxy); 51 init_String(&d->gopherProxy);
52 init_String(&d->httpProxy); 52 init_String(&d->httpProxy);
53 init_String(&d->downloadDir); 53 init_String(&d->downloadDir);
54 initCStr_String(&d->searchUrl, "gemini://gus.guru/search");
54} 55}
55 56
56void deinit_Prefs(iPrefs *d) { 57void deinit_Prefs(iPrefs *d) {
58 deinit_String(&d->searchUrl);
57 deinit_String(&d->geminiProxy); 59 deinit_String(&d->geminiProxy);
58 deinit_String(&d->gopherProxy); 60 deinit_String(&d->gopherProxy);
59 deinit_String(&d->httpProxy); 61 deinit_String(&d->httpProxy);