diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-23 12:53:24 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-23 12:53:24 +0200 |
commit | f6d26e8395b84aff8ae22abe554b143efc178291 (patch) | |
tree | 03f5b10c3f7dee730c39089f19bb4598ca95a714 /src | |
parent | 6f63a0b8cd3572d933ab93a71b05c6e2fc28d2d6 (diff) |
Preferences: Leave an empty search URL unmodified
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |