summaryrefslogtreecommitdiff
path: root/frontends/windows
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-06-10 11:15:20 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2017-06-10 11:15:20 +0100
commit368b03bffb8dcf2dc2a306f29756ca882b3fee51 (patch)
treed8bc4572880284297eed622c3c9bed0095191841 /frontends/windows
parent283d921f346d44bd8d78fdac6a36b5a8516ca722 (diff)
downloadnetsurf-368b03bffb8dcf2dc2a306f29756ca882b3fee51.tar.gz
netsurf-368b03bffb8dcf2dc2a306f29756ca882b3fee51.tar.bz2
Local history: Pass clip rectangle around as struct.
Diffstat (limited to 'frontends/windows')
-rw-r--r--frontends/windows/local_history.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/frontends/windows/local_history.c b/frontends/windows/local_history.c
index f4474236e..205ebfe94 100644
--- a/frontends/windows/local_history.c
+++ b/frontends/windows/local_history.c
@@ -111,11 +111,7 @@ nsw32_local_history_draw(struct nsw32_corewindow *nsw32_cw,
lhw = (struct nsw32_local_history_window *)nsw32_cw;
- local_history_redraw(lhw->session,
- r->x0 - scrollx,
- r->y0 - scrolly,
- r,
- &ctx);
+ local_history_redraw(lhw->session, -scrollx, -scrolly, r, &ctx);
return NSERROR_OK;
}