From b525293a95026fb581e311d4646dfe63e83eee3e Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 8 Sep 2017 20:42:12 +0100 Subject: Fix up log call parameters --- frontends/windows/window.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'frontends/windows') diff --git a/frontends/windows/window.c b/frontends/windows/window.c index 9c050a497..90d076812 100644 --- a/frontends/windows/window.c +++ b/frontends/windows/window.c @@ -1922,10 +1922,19 @@ nserror win32_window_set_scroll(struct gui_window *gw, const struct rect *rect) r.bottom = gw->height + 1; r.left = 0; 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, "ScrollWindowEx %d, %d", - - w->requestscrollx, - w->requestscrolly); + - gw->requestscrollx, + - gw->requestscrolly); + gw->scrolly += gw->requestscrolly; gw->scrollx += gw->requestscrollx; gw->requestscrollx = 0; -- cgit v1.2.3