Add missing '\n's to wgl test errors.

Like some of the other missing '\n's, I'd originally used errx(), then
just done a sed job to fprintf when I found that win32 lacked errx().
macos/v1.5.9
Eric Anholt 11 years ago
parent 81ccc70837
commit eb7a99d1bd
  1. 4
      test/wgl_common.c

@ -54,12 +54,12 @@ setup_pixel_format(HDC hdc)
pixel_format = ChoosePixelFormat(hdc, &pfd);
if (!pixel_format) {
fprintf(stderr, "ChoosePixelFormat failed.");
fprintf(stderr, "ChoosePixelFormat failed.\n");
exit(1);
}
if (SetPixelFormat(hdc, pixel_format, &pfd) != TRUE) {
fprintf(stderr, "SetPixelFormat() failed.");
fprintf(stderr, "SetPixelFormat() failed.\n");
exit(1);
}
}

Loading…
Cancel
Save