aboutsummaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc3
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);