summaryrefslogtreecommitdiff
path: root/src/prefs.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-20 14:09:08 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-20 14:09:08 +0200
commitdf0e00463c5b55f89471720c1bf4d83e1f428aae (patch)
tree00f39e4c7d7308e5b1d65473a538c691181abefa /src/prefs.c
parentc998b25d4d428e860520bb8fa4fd5450c1b865fd (diff)
Preferences: Added a Gemini proxy
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 5c73833e..80b11c30 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -42,12 +42,14 @@ void init_Prefs(iPrefs *d) {
42 d->docThemeDark = colorfulDark_GmDocumentTheme; 42 d->docThemeDark = colorfulDark_GmDocumentTheme;
43 d->docThemeLight = white_GmDocumentTheme; 43 d->docThemeLight = white_GmDocumentTheme;
44 d->saturation = 1.0f; 44 d->saturation = 1.0f;
45 init_String(&d->geminiProxy);
45 init_String(&d->gopherProxy); 46 init_String(&d->gopherProxy);
46 init_String(&d->httpProxy); 47 init_String(&d->httpProxy);
47 init_String(&d->downloadDir); 48 init_String(&d->downloadDir);
48} 49}
49 50
50void deinit_Prefs(iPrefs *d) { 51void deinit_Prefs(iPrefs *d) {
52 deinit_String(&d->geminiProxy);
51 deinit_String(&d->gopherProxy); 53 deinit_String(&d->gopherProxy);
52 deinit_String(&d->httpProxy); 54 deinit_String(&d->httpProxy);
53 deinit_String(&d->downloadDir); 55 deinit_String(&d->downloadDir);