diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2012-06-12 22:22:20 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2012-06-12 22:22:20 +0200 |
commit | c9a0705fcc1759c6a9d75f62d24a759f07e84d96 (patch) | |
tree | ba9356199bce10f0b0a6ad53dc3381b2fed56284 /src/dillo.cc | |
parent | 5b658f8856681eb31a1bb241d063e8a3efcc6f99 (diff) |
simplify startup without URLs on the command line
Submitted by: 123 <p37sitdu@lavabit.com>
Diffstat (limited to 'src/dillo.cc')
-rw-r--r-- | src/dillo.cc | 6 |
1 files changed, 1 insertions, 5 deletions
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); |