mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-18 04:52:59 +03:00
Fix URL + FORCE issue #2635
This commit is contained in:
parent
61891ada50
commit
13a7004e6b
@ -1037,6 +1037,10 @@ static void gui_init2(int argc, char** argv)
|
||||
(nsoption_bool(startup_no_window) == false))
|
||||
ami_openscreenfirst();
|
||||
|
||||
if(cli_force == true) {
|
||||
notalreadyrunning = TRUE;
|
||||
}
|
||||
|
||||
if(temp_homepage_url && notalreadyrunning) {
|
||||
error = nsurl_create(temp_homepage_url, &url);
|
||||
if (error == NSERROR_OK) {
|
||||
@ -1054,10 +1058,6 @@ static void gui_init2(int argc, char** argv)
|
||||
temp_homepage_url = NULL;
|
||||
}
|
||||
|
||||
if(cli_force == true) {
|
||||
notalreadyrunning = TRUE;
|
||||
}
|
||||
|
||||
if(argc == 0) { // WB
|
||||
struct WBStartup *WBenchMsg = (struct WBStartup *)argv;
|
||||
struct WBArg *wbarg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user