summaryrefslogtreecommitdiff
path: root/windows/localhistory.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-02-08 22:43:54 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-02-08 22:43:54 +0000
commit3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf (patch)
tree43fb131d4c23d6d9f177c135291c4ad8ea102953 /windows/localhistory.c
parent2cd2e5b0541e7067c908e88f446b7cc56095253b (diff)
downloadnetsurf-3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf.tar.gz
netsurf-3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf.tar.bz2
Simplify local history interface.
Diffstat (limited to 'windows/localhistory.c')
-rw-r--r--windows/localhistory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/windows/localhistory.c b/windows/localhistory.c
index 0b298719f..d2be2c377 100644
--- a/windows/localhistory.c
+++ b/windows/localhistory.c
@@ -167,8 +167,7 @@ nsws_localhistory_event_callback(HWND hwnd, UINT msg,
x = GET_X_LPARAM(lparam);
y = GET_Y_LPARAM(lparam);
- if (history_click(gw->bw,
- gw->bw->history,
+ if (history_click(gw->bw->history,
gw->localhistory->hscroll + x,
gw->localhistory->vscroll + y,
false)) {