summaryrefslogtreecommitdiff
path: root/src/prefs.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-20 12:53:12 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-20 12:53:12 +0200
commit6d7b6122e68c8d53b6e7533a6e5d5f55e33831e1 (patch)
tree80bc2867510e3c9b7bc43578fc416165dae3876c /src/prefs.c
parent2d52f13afb15232cc9c834f0aa14284bf9072a31 (diff)
parent41f378c4b46cb5dd3599d44c81fa51d3183eefee (diff)
Merge branch 'work/v1.11' into dev
# Conflicts: # res/lang/es.bin # res/lang/ie.bin # res/lang/ru.bin # res/lang/sr.bin # res/lang/uk.bin
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 13a1dab7..08355a6a 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -66,13 +66,15 @@ void init_Prefs(iPrefs *d) {
66 d->smoothScrollSpeed[keyboard_ScrollType] = 13; 66 d->smoothScrollSpeed[keyboard_ScrollType] = 13;
67 d->smoothScrollSpeed[mouse_ScrollType] = 13; 67 d->smoothScrollSpeed[mouse_ScrollType] = 13;
68 d->loadImageInsteadOfScrolling = iFalse; 68 d->loadImageInsteadOfScrolling = iFalse;
69 d->collapsePreOnLoad = iFalse; 69 d->openDataUrlImagesOnLoad = iFalse;
70 d->openArchiveIndexPages = iTrue; 70 d->collapsePreOnLoad = iFalse;
71 d->addBookmarksToBottom = iTrue; 71 d->openArchiveIndexPages = iTrue;
72 d->warnAboutMissingGlyphs = iTrue; 72 d->addBookmarksToBottom = iTrue;
73 d->decodeUserVisibleURLs = iTrue; 73 d->warnAboutMissingGlyphs = iTrue;
74 d->decodeUserVisibleURLs = iTrue;
74 d->maxCacheSize = 10; 75 d->maxCacheSize = 10;
75 d->maxMemorySize = 200; 76 d->maxMemorySize = 200;
77 d->maxUrlSize = 8192;
76 setCStr_String(&d->strings[uiFont_PrefsString], "default"); 78 setCStr_String(&d->strings[uiFont_PrefsString], "default");
77 setCStr_String(&d->strings[headingFont_PrefsString], "default"); 79 setCStr_String(&d->strings[headingFont_PrefsString], "default");
78 setCStr_String(&d->strings[bodyFont_PrefsString], "default"); 80 setCStr_String(&d->strings[bodyFont_PrefsString], "default");