diff options
Diffstat (limited to 'windows/localhistory.c')
-rw-r--r-- | windows/localhistory.c | 3 |
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)) { |