mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 17:54:33 +03:00
SET_SCROLL only wants x/y not x0y0x1y1
This commit is contained in:
parent
03ae0ec15a
commit
f357af4250
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user