diff options
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 | } |