From a1dc9ab55f155467dbf6b48e305658661fa09c98 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 8 Sep 2017 19:46:29 +0100 Subject: [PATCH] Hopefully quash LOG compile errors in Windows --- frontends/windows/plot.c | 3 ++- frontends/windows/window.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontends/windows/plot.c b/frontends/windows/plot.c index 376d37252..3668e4bb6 100644 --- a/frontends/windows/plot.c +++ b/frontends/windows/plot.c @@ -580,7 +580,8 @@ line(const struct redraw_context *ctx, const plot_style_t *style, const struct rect *line) { - NSLOG(plot, DEEPDEBUG, "from %d,%d to %d,%d", x0, y0, x1, y1); + NSLOG(plot, DEEPDEBUG, "from %d,%d to %d,%d", + line->x0, line->y0, line->x1, line->y1); /* ensure the plot HDC is set */ if (plot_hdc == NULL) { diff --git a/frontends/windows/window.c b/frontends/windows/window.c index 5c5dc6731..9c050a497 100644 --- a/frontends/windows/window.c +++ b/frontends/windows/window.c @@ -1883,7 +1883,7 @@ nserror win32_window_set_scroll(struct gui_window *gw, const struct rect *rect) NSLOG(netsurf, DEEPDEBUG, "requestscroll x,y:%d,%d", - w->requestscrollx, w->requestscrolly); + gw->requestscrollx, gw->requestscrolly); /* set the vertical scroll offset */ si.cbSize = sizeof(si);