summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
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 }