summaryrefslogtreecommitdiff
path: root/frontends/windows/local_history.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/windows/local_history.c')
-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;
}