netsurf: branch master updated. 69d653f4dce25ef58f8e177d986466c8b1119d6f
by NetSurf Browser Project
Gitweb links:
...log http://git.netsurf-browser.org/netsurf.git/shortlog/69d653f4dce25ef58f8e1...
...commit http://git.netsurf-browser.org/netsurf.git/commit/69d653f4dce25ef58f8e177...
...tree http://git.netsurf-browser.org/netsurf.git/tree/69d653f4dce25ef58f8e177d9...
The branch, master has been updated
via 69d653f4dce25ef58f8e177d986466c8b1119d6f (commit)
via 02f2cbec3f1a00a3d57e4239896b120ba14b6b8e (commit)
from 6b9f7c3094248c4b0594040bf93b7a5a071d8d6e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff http://git.netsurf-browser.org/netsurf.git/commitdiff/69d653f4dce25ef58f8...
commit 69d653f4dce25ef58f8e177d986466c8b1119d6f
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Fix history.
diff --git a/desktop/browser.c b/desktop/browser.c
index 45f33ab..e42f6e2 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -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) {
commitdiff http://git.netsurf-browser.org/netsurf.git/commitdiff/02f2cbec3f1a00a3d57...
commit 02f2cbec3f1a00a3d57e4239896b120ba14b6b8e
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Pedantic wrap.
diff --git a/desktop/history_core.c b/desktop/history_core.c
index 6486352..bc933c0 100644
--- a/desktop/history_core.c
+++ b/desktop/history_core.c
@@ -470,7 +470,8 @@ void history_go(struct browser_window *bw,
history->current = current;
} else {
history->current = entry;
- browser_window_navigate(bw, url, NULL, BROWSER_WINDOW_VERIFIABLE, NULL, NULL, NULL);
+ browser_window_navigate(bw, url, NULL,
+ BROWSER_WINDOW_VERIFIABLE, NULL, NULL, NULL);
}
nsurl_unref(url);
-----------------------------------------------------------------------
Summary of changes:
desktop/browser.c | 4 +---
desktop/history_core.c | 3 ++-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/desktop/browser.c b/desktop/browser.c
index 45f33ab..e42f6e2 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -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) {
diff --git a/desktop/history_core.c b/desktop/history_core.c
index 6486352..bc933c0 100644
--- a/desktop/history_core.c
+++ b/desktop/history_core.c
@@ -470,7 +470,8 @@ void history_go(struct browser_window *bw,
history->current = current;
} else {
history->current = entry;
- browser_window_navigate(bw, url, NULL, BROWSER_WINDOW_VERIFIABLE, NULL, NULL, NULL);
+ browser_window_navigate(bw, url, NULL,
+ BROWSER_WINDOW_VERIFIABLE, NULL, NULL, NULL);
}
nsurl_unref(url);
--
NetSurf Browser
9 years, 11 months