aboutsummaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index c7a0cbc3..a45ecdd1 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -380,7 +380,10 @@ PORT1.3
if (idx == argc) {
/* No URLs/files on cmdline. Send startup screen */
- a_UIcmd_open_url(bw, prefs.start_page);
+ if (strcmp(URL_STR(prefs.start_page), "about:blank") == 0)
+ a_UIcmd_open_url(bw, NULL);
+ else
+ a_UIcmd_open_url(bw, prefs.start_page);
} else {
for (int i = idx; i < argc; i++) {
DilloUrl *start_url = makeStartUrl(argv[i], local);