2 May
2024
2 May
'24
8:56 p.m.
On Thu, Apr 11, 2024 at 05:36:07PM +0200, a1ex@dismail.de wrote:
We may leave the value "about:blank" by default (and forbid ""), but then, when opening a new tab, if the new_tab_url matches "about:blank", we set it to NULL to leave the location empty, which follows the current behavior. Maybe, something like this?
+ if (!url && strcmp(URL_STR(prefs.new_tab_page), "about:blank") != 0) + url = prefs.new_tab_page;
That does seem like the most elegant solution for now. Thanks!
Related PR: https://github.com/dillo-browser/dillo/pull/147 Rodrigo.