Fix history.

This commit is contained in:
Michael Drake 2013-03-04 15:07:58 +00:00
parent 02f2cbec3f
commit 69d653f4dc
1 changed files with 1 additions and 3 deletions

View File

@ -952,9 +952,7 @@ nserror browser_window_navigate(struct browser_window *bw,
LOG(("Loading '%s'", nsurl_access(url)));
browser_window_set_status(bw, messages_get("Loading"));
if ((flags & BROWSER_WINDOW_HISTORY) != 0) {
bw->history_add = true;
}
bw->history_add = (flags & BROWSER_WINDOW_HISTORY);
/* Verifiable fetches may trigger a download */
if ((flags & BROWSER_WINDOW_VERIFIABLE) != 0) {