diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -415,8 +415,9 @@ static void init_App_(iApp *d, int argc, char **argv) { | |||
415 | for (size_t i = 1; i < size_StringList(args_CommandLine(&d->args)); i++) { | 415 | for (size_t i = 1; i < size_StringList(args_CommandLine(&d->args)); i++) { |
416 | const iString *arg = constAt_StringList(args_CommandLine(&d->args), i); | 416 | const iString *arg = constAt_StringList(args_CommandLine(&d->args), i); |
417 | const iBool isKnownScheme = | 417 | const iBool isKnownScheme = |
418 | startsWithCase_String(arg, "gemini:") || startsWithCase_String(arg, "file:") || | 418 | startsWithCase_String(arg, "gemini:") || startsWithCase_String(arg, "gopher:") || |
419 | startsWithCase_String(arg, "data:") || startsWithCase_String(arg, "about:"); | 419 | startsWithCase_String(arg, "file:") || startsWithCase_String(arg, "data:") || |
420 | startsWithCase_String(arg, "about:"); | ||
420 | if (isKnownScheme || fileExists_FileInfo(arg)) { | 421 | if (isKnownScheme || fileExists_FileInfo(arg)) { |
421 | postCommandf_App("open newtab:%d url:%s", | 422 | postCommandf_App("open newtab:%d url:%s", |
422 | newTab, | 423 | newTab, |