summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-23 12:53:24 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-23 12:53:24 +0200
commitf6d26e8395b84aff8ae22abe554b143efc178291 (patch)
tree03f5b10c3f7dee730c39089f19bb4598ca95a714 /src
parent6f63a0b8cd3572d933ab93a71b05c6e2fc28d2d6 (diff)
Preferences: Leave an empty search URL unmodified
Diffstat (limited to 'src')
-rw-r--r--src/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index f7819c03..10557370 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1360,7 +1360,7 @@ iBool handleCommand_App(const char *cmd) {
1360 if (startsWith_String(url, "//")) { 1360 if (startsWith_String(url, "//")) {
1361 prependCStr_String(url, "gemini:"); 1361 prependCStr_String(url, "gemini:");
1362 } 1362 }
1363 if (!startsWithCase_String(url, "gemini://")) { 1363 if (!isEmpty_String(url) && !startsWithCase_String(url, "gemini://")) {
1364 prependCStr_String(url, "gemini://"); 1364 prependCStr_String(url, "gemini://");
1365 } 1365 }
1366 return iTrue; 1366 return iTrue;