diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-09 12:53:57 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-10 06:29:31 +0300 |
commit | 033050c5077ebcb02dd9f03ee2747284e1a0c5cf (patch) | |
tree | b5cb40f3886e5b80d750d86585bbae1c3825a86d /src | |
parent | f3923123354c167c6e6bca4adfd35e913118c226 (diff) |
Fixed opening drag-and-dropped Gopher links
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | } |