Hopefully quash LOG compile errors in Windows

This commit is contained in:
Daniel Silverstone 2017-09-08 19:46:29 +01:00
parent 0ad2f2de6f
commit a1dc9ab55f
2 changed files with 3 additions and 2 deletions

View File

@ -580,7 +580,8 @@ line(const struct redraw_context *ctx,
const plot_style_t *style, const plot_style_t *style,
const struct rect *line) 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 */ /* ensure the plot HDC is set */
if (plot_hdc == NULL) { if (plot_hdc == NULL) {

View File

@ -1883,7 +1883,7 @@ nserror win32_window_set_scroll(struct gui_window *gw, const struct rect *rect)
NSLOG(netsurf, DEEPDEBUG, NSLOG(netsurf, DEEPDEBUG,
"requestscroll x,y:%d,%d", "requestscroll x,y:%d,%d",
w->requestscrollx, w->requestscrolly); gw->requestscrollx, gw->requestscrolly);
/* set the vertical scroll offset */ /* set the vertical scroll offset */
si.cbSize = sizeof(si); si.cbSize = sizeof(si);