aboutsummaryrefslogtreecommitdiff
path: root/src/prefs.c
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-12-08 16:34:26 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-12-08 21:26:09 +0100
commit4ca80d0be53d50c0db7de7f81a3df8dbb1565f98 (patch)
treee00a6f4cb9a8dd563e22e82d092ffa36823e2446 /src/prefs.c
parentd4f56d0d8d07dd45600eca76551c011e290e4520 (diff)
Allow image formats to be disabled from dillorc
Makes disabling certain formats posible without the need to rebuild Dillo from source. See: https://github.com/dillo-browser/dillo/pull/312
Diffstat (limited to 'src/prefs.c')
-rw-r--r--src/prefs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c
index d6a3ff12..4a68e4c9 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -76,6 +76,7 @@ void a_Prefs_init(void)
prefs.adjust_min_width = TRUE;
prefs.adjust_table_min_width = TRUE;
prefs.load_images=TRUE;
+ prefs.ignore_image_formats = NULL;
prefs.load_background_images=FALSE;
prefs.load_stylesheets=TRUE;
prefs.middle_click_drags_page = TRUE;