mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-21 11:42:56 +03:00
parent
fe45bc1dbe
commit
7a75ec1576
@ -601,7 +601,9 @@ nserror browser_window_history_go(struct browser_window *bw,
|
||||
url, NULL, bw, NULL);
|
||||
history->current = current;
|
||||
} else {
|
||||
browser_window_history_update(bw, bw->current_content);
|
||||
if (bw->current_content != NULL) {
|
||||
browser_window_history_update(bw, bw->current_content);
|
||||
}
|
||||
history->current = entry;
|
||||
error = browser_window_navigate(bw, url, NULL,
|
||||
BW_NAVIGATE_NO_TERMINAL_HISTORY_UPDATE,
|
||||
|
Loading…
Reference in New Issue
Block a user