summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-06-10 11:21:48 (GMT)
committer Daniel Silverstone <dsilvers@digital-scurf.org>2017-06-10 11:54:57 (GMT)
commitf357af4250c706c7f9dfaa36198cf918a58446ff (patch)
treefb28d855bcdd683526815486313cadc14e9c661e
parent03ae0ec15ad6fc17d8b9be60da0798c6b0f54672 (diff)
downloadnetsurf-f357af4250c706c7f9dfaa36198cf918a58446ff.tar.gz
netsurf-f357af4250c706c7f9dfaa36198cf918a58446ff.tar.bz2
SET_SCROLL only wants x/y not x0y0x1y1
-rw-r--r--frontends/monkey/browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/monkey/browser.c b/frontends/monkey/browser.c
index a6aa5f1..16d3301 100644
--- a/frontends/monkey/browser.c
+++ b/frontends/monkey/browser.c
@@ -171,8 +171,8 @@ gui_window_set_scroll(struct gui_window *gw, const struct rect *rect)
gw->scrollx = rect->x0;
gw->scrolly = rect->y0;
- fprintf(stdout, "WINDOW SET_SCROLL WIN %u X0 %d Y0 %d X1 %d Y1 %d\n",
- gw->win_num, rect->x0, rect->y0, rect->x1, rect->y1);
+ fprintf(stdout, "WINDOW SET_SCROLL WIN %u X %d Y %d\n",
+ gw->win_num, rect->x0, rect->y0);
return NSERROR_OK;
}