summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-09 12:53:57 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-10 06:29:31 +0300
commit033050c5077ebcb02dd9f03ee2747284e1a0c5cf (patch)
treeb5cb40f3886e5b80d750d86585bbae1c3825a86d /src/app.c
parentf3923123354c167c6e6bca4adfd35e913118c226 (diff)
Fixed opening drag-and-dropped Gopher links
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index 32401bb9..cb70194b 100644
--- a/src/app.c
+++ b/src/app.c
@@ -949,6 +949,7 @@ void processEvents_App(enum iAppEventMode eventMode) {
949 } 949 }
950 d->lastDropTime = now_Time(); 950 d->lastDropTime = now_Time();
951 if (startsWithCase_CStr(ev.drop.file, "gemini:") || 951 if (startsWithCase_CStr(ev.drop.file, "gemini:") ||
952 startsWithCase_CStr(ev.drop.file, "gopher:") ||
952 startsWithCase_CStr(ev.drop.file, "file:")) { 953 startsWithCase_CStr(ev.drop.file, "file:")) {
953 postCommandf_App("~open newtab:%d url:%s", newTab, ev.drop.file); 954 postCommandf_App("~open newtab:%d url:%s", newTab, ev.drop.file);
954 } 955 }