summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 6513fc33..293e4507 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -2411,8 +2411,9 @@ static const char *zipPageHeading_(const iRangecc mime) {
2411 2411
2412static void postProcessRequestContent_DocumentWidget_(iDocumentWidget *d, iBool isCached) { 2412static void postProcessRequestContent_DocumentWidget_(iDocumentWidget *d, iBool isCached) {
2413 iWidget *w = as_Widget(d); 2413 iWidget *w = as_Widget(d);
2414 /* Embedded images in data links should be shown immediately as they are already fetched 2414 /* Embedded images in data links can be shown immediately as they are already fetched
2415 data that is part of the document. */ { 2415 data that is part of the document. */
2416 if (prefs_App()->openDataUrlImagesOnLoad) {
2416 iGmDocument *doc = d->view.doc; 2417 iGmDocument *doc = d->view.doc;
2417 for (size_t linkId = 1; ; linkId++) { 2418 for (size_t linkId = 1; ; linkId++) {
2418 const int linkFlags = linkFlags_GmDocument(doc, linkId); 2419 const int linkFlags = linkFlags_GmDocument(doc, linkId);