summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-25 13:50:30 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-25 13:50:30 +0300
commit5bbf947aad0db5fb5fe6806751ab27c76e883527 (patch)
tree54765574f6520317f20e2423fbd1a46b463d0d38 /src/app.c
parent770313365c781ca52518340c57e2f06e093cfebe (diff)
It's called a "scheme"
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index d415a488..76298ec5 100644
--- a/src/app.c
+++ b/src/app.c
@@ -612,8 +612,8 @@ iBool handleCommand_App(const char *cmd) {
612 const iString *url = collect_String(newCStr_String(suffixPtr_Command(cmd, "url"))); 612 const iString *url = collect_String(newCStr_String(suffixPtr_Command(cmd, "url")));
613 iUrl parts; 613 iUrl parts;
614 init_Url(&parts, url); 614 init_Url(&parts, url);
615 if (equalCase_Rangecc(parts.protocol, "http") || 615 if (equalCase_Rangecc(parts.scheme, "http") ||
616 equalCase_Rangecc(parts.protocol, "https")) { 616 equalCase_Rangecc(parts.scheme, "https")) {
617 openInDefaultBrowser_App(url); 617 openInDefaultBrowser_App(url);
618 return iTrue; 618 return iTrue;
619 } 619 }