From c9a0705fcc1759c6a9d75f62d24a759f07e84d96 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 12 Jun 2012 22:22:20 +0200 Subject: simplify startup without URLs on the command line Submitted by: 123 --- src/dillo.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/dillo.cc') diff --git a/src/dillo.cc b/src/dillo.cc index ff450fe5..e6aaf915 100644 --- a/src/dillo.cc +++ b/src/dillo.cc @@ -410,11 +410,7 @@ int main(int argc, char **argv) if (idx == argc) { /* No URLs/files on cmdline. Send startup screen */ - 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); + a_UIcmd_open_url(bw, prefs.start_page); } else { for (int i = idx; i < argc; i++) { DilloUrl *start_url = makeStartUrl(argv[i], local); -- cgit v1.2.3