summaryrefslogtreecommitdiff
path: root/frontends/windows
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-09-08 20:42:12 +0100
committerVincent Sanders <vince@kyllikki.org>2017-09-08 20:42:12 +0100
commitb525293a95026fb581e311d4646dfe63e83eee3e (patch)
tree24a8efba1e6b4c12709c5eadde8ce1e03f0bef7c /frontends/windows
parent9c93ed1bca859e5b5cb3c018be327fb91213c558 (diff)
downloadnetsurf-b525293a95026fb581e311d4646dfe63e83eee3e.tar.gz
netsurf-b525293a95026fb581e311d4646dfe63e83eee3e.tar.bz2
Fix up log call parameters
Diffstat (limited to 'frontends/windows')
-rw-r--r--frontends/windows/window.c13
1 files changed, 11 insertions, 2 deletions
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;