mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 18:52:39 +03:00
Fix up log call parameters
This commit is contained in:
parent
9c93ed1bca
commit
b525293a95
@ -1922,10 +1922,19 @@ nserror win32_window_set_scroll(struct gui_window *gw, const struct rect *rect)
|
|||||||
r.bottom = gw->height + 1;
|
r.bottom = gw->height + 1;
|
||||||
r.left = 0;
|
r.left = 0;
|
||||||
r.right = gw->width + 1;
|
r.right = gw->width + 1;
|
||||||
ScrollWindowEx(gw->drawingarea, - gw->requestscrollx, - gw->requestscrolly, &r, NULL, NULL, &redraw, SW_INVALIDATE);
|
ScrollWindowEx(gw->drawingarea,
|
||||||
|
- gw->requestscrollx,
|
||||||
|
- gw->requestscrolly,
|
||||||
|
&r,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
&redraw,
|
||||||
|
SW_INVALIDATE);
|
||||||
NSLOG(netsurf, DEEPDEBUG,
|
NSLOG(netsurf, DEEPDEBUG,
|
||||||
"ScrollWindowEx %d, %d",
|
"ScrollWindowEx %d, %d",
|
||||||
- w->requestscrollx, - w->requestscrolly);
|
- gw->requestscrollx,
|
||||||
|
- gw->requestscrolly);
|
||||||
|
|
||||||
gw->scrolly += gw->requestscrolly;
|
gw->scrolly += gw->requestscrolly;
|
||||||
gw->scrollx += gw->requestscrollx;
|
gw->scrollx += gw->requestscrollx;
|
||||||
gw->requestscrollx = 0;
|
gw->requestscrollx = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user