diff options
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r-- | src/uicmd.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc index 88bc9b7d..d7822e47 100644 --- a/src/uicmd.cc +++ b/src/uicmd.cc @@ -770,6 +770,11 @@ void a_UIcmd_open_url(BrowserWindow *bw, const DilloUrl *url) static void UIcmd_open_url_nbw(BrowserWindow *new_bw, const DilloUrl *url) { + if (!url && prefs.new_tab_page) { + if (strcmp(URL_STR(prefs.new_tab_page), "about:blank") != 0) + url = prefs.new_tab_page; + } + /* When opening a new BrowserWindow (tab or real window) we focus * Location if we don't yet have an URL, main otherwise. */ |