diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-21 19:05:00 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-21 19:05:00 +0200 |
commit | 73faede0ce49a06e117971e75bfe8fb30ec937ca (patch) | |
tree | d08d86904025668b2a6ed369cb15b2edb6aba4bc /src/gmdocument.c | |
parent | d81caf1798335a8e6a4608cf750f1b5f2eddd5a6 (diff) |
Saving inline media content to Downloads
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 80ddfc9d..c8fc9869 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -1377,7 +1377,7 @@ iBool isMediaLink_GmDocument(const iGmDocument *d, iGmLinkId linkId) { | |||
1377 | const iString *dstUrl = absoluteUrl_String(&d->url, linkUrl_GmDocument(d, linkId)); | 1377 | const iString *dstUrl = absoluteUrl_String(&d->url, linkUrl_GmDocument(d, linkId)); |
1378 | const iRangecc scheme = urlScheme_String(dstUrl); | 1378 | const iRangecc scheme = urlScheme_String(dstUrl); |
1379 | if (equalCase_Rangecc(scheme, "gemini") || equalCase_Rangecc(scheme, "gopher") || | 1379 | if (equalCase_Rangecc(scheme, "gemini") || equalCase_Rangecc(scheme, "gopher") || |
1380 | willUseProxy_App(scheme)) { | 1380 | equalCase_Rangecc(scheme, "file") || willUseProxy_App(scheme)) { |
1381 | return (linkFlags_GmDocument(d, linkId) & | 1381 | return (linkFlags_GmDocument(d, linkId) & |
1382 | (imageFileExtension_GmLinkFlag | audioFileExtension_GmLinkFlag)) != 0; | 1382 | (imageFileExtension_GmLinkFlag | audioFileExtension_GmLinkFlag)) != 0; |
1383 | } | 1383 | } |