summaryrefslogtreecommitdiff
path: root/src/prefs.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-17 17:01:01 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-17 17:01:01 +0200
commitcdb955bfe2be425ed483273d4341f8fd6c8165ca (patch)
tree019ba02b640f59f68cb6413bcfb3667351ddd203 /src/prefs.c
parentc6a3afccfc5ef679a82275c5f045336c2d48f643 (diff)
parentdd90cda682180f6472aa030d01317f70cc3d7282 (diff)
Merge branch 'dev' of skyjake.fi:skyjake/lagrange into dev
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);