diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-25 13:50:30 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-25 13:50:30 +0300 |
commit | 5bbf947aad0db5fb5fe6806751ab27c76e883527 (patch) | |
tree | 54765574f6520317f20e2423fbd1a46b463d0d38 /src/app.c | |
parent | 770313365c781ca52518340c57e2f06e093cfebe (diff) |
It's called a "scheme"
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | } |