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);