diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2017-06-10 11:15:20 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2017-06-10 11:15:20 +0100 |
commit | 368b03bffb8dcf2dc2a306f29756ca882b3fee51 (patch) | |
tree | d8bc4572880284297eed622c3c9bed0095191841 /frontends/windows/local_history.c | |
parent | 283d921f346d44bd8d78fdac6a36b5a8516ca722 (diff) | |
download | netsurf-368b03bffb8dcf2dc2a306f29756ca882b3fee51.tar.gz netsurf-368b03bffb8dcf2dc2a306f29756ca882b3fee51.tar.bz2 |
Local history: Pass clip rectangle around as struct.
Diffstat (limited to 'frontends/windows/local_history.c')
-rw-r--r-- | frontends/windows/local_history.c | 6 |
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; } |