summaryrefslogtreecommitdiff
path: root/src/prefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs.c')
-rw-r--r--src/prefs.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/prefs.c b/src/prefs.c
index 80b11c30..dc2bd601 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -24,21 +24,23 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
24 24
25void init_Prefs(iPrefs *d) { 25void init_Prefs(iPrefs *d) {
26 d->dialogTab = 0; 26 d->dialogTab = 0;
27 d->theme = dark_ColorTheme;
28 d->useSystemTheme = iTrue; 27 d->useSystemTheme = iTrue;
28 d->theme = dark_ColorTheme;
29 d->retainWindowSize = iTrue; 29 d->retainWindowSize = iTrue;
30 d->uiScale = 1.0f; /* default set elsewhere */
30 d->zoomPercent = 100; 31 d->zoomPercent = 100;
32 d->sideIcon = iTrue;
33 d->hoverOutline = iFalse;
31 d->smoothScrolling = iTrue; 34 d->smoothScrolling = iTrue;
32 d->forceLineWrap = iFalse; 35 d->loadImageInsteadOfScrolling = iFalse;
33 d->quoteIcon = iTrue;
34 d->font = nunito_TextFont; 36 d->font = nunito_TextFont;
35 d->headingFont = nunito_TextFont; 37 d->headingFont = nunito_TextFont;
36 d->monospaceGemini = iFalse; 38 d->monospaceGemini = iFalse;
37 d->monospaceGopher = iFalse; 39 d->monospaceGopher = iFalse;
38 d->lineWidth = 40; 40 d->lineWidth = 40;
39 d->bigFirstParagraph = iTrue; 41 d->bigFirstParagraph = iTrue;
40 d->sideIcon = iTrue; 42 d->forceLineWrap = iFalse;
41 d->hoverOutline = iFalse; 43 d->quoteIcon = iTrue;
42 d->docThemeDark = colorfulDark_GmDocumentTheme; 44 d->docThemeDark = colorfulDark_GmDocumentTheme;
43 d->docThemeLight = white_GmDocumentTheme; 45 d->docThemeLight = white_GmDocumentTheme;
44 d->saturation = 1.0f; 46 d->saturation = 1.0f;