diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 94168d28..a4bf38dc 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1944,8 +1944,9 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
1944 | if (d->contextLink) { | 1944 | if (d->contextLink) { |
1945 | const iString *linkUrl = linkUrl_GmDocument(d->doc, d->contextLink->linkId); | 1945 | const iString *linkUrl = linkUrl_GmDocument(d->doc, d->contextLink->linkId); |
1946 | const iRangecc scheme = urlScheme_String(linkUrl); | 1946 | const iRangecc scheme = urlScheme_String(linkUrl); |
1947 | if (willUseProxy_App(scheme) || equalCase_Rangecc(scheme, "gemini")) { | 1947 | if (willUseProxy_App(scheme) || equalCase_Rangecc(scheme, "gemini") || |
1948 | /* Regular Gemini links. */ | 1948 | equalCase_Rangecc(scheme, "gopher")) { |
1949 | /* Regular links that we can open. */ | ||
1949 | pushBackN_Array( | 1950 | pushBackN_Array( |
1950 | &items, | 1951 | &items, |
1951 | (iMenuItem[]){ | 1952 | (iMenuItem[]){ |