diff options
author | corvid <corvid@lavabit.com> | 2011-11-17 02:30:58 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-11-17 02:30:58 +0000 |
commit | 0737f8cda8761178997948a163ee10cebe3f2ce1 (patch) | |
tree | 8b3a08816c14737e192b209954cd7963cd6ae9ef /src/dillo.cc | |
parent | e4073e88c1edb556eb2b3fb06cec0639c3a3d80c (diff) |
never treat URI schemes case-sensitively
Diffstat (limited to 'src/dillo.cc')
-rw-r--r-- | src/dillo.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dillo.cc b/src/dillo.cc index b05cb16a..ff450fe5 100644 --- a/src/dillo.cc +++ b/src/dillo.cc @@ -410,7 +410,8 @@ int main(int argc, char **argv) if (idx == argc) { /* No URLs/files on cmdline. Send startup screen */ - if (strcmp(URL_STR(prefs.start_page), "about:blank") == 0) + if (dStrAsciiCasecmp(URL_SCHEME(prefs.start_page), "about") == 0 && + strcmp(URL_PATH(prefs.start_page), "blank") == 0) a_UIcmd_open_url(bw, NULL); else a_UIcmd_open_url(bw, prefs.start_page); |