summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-02-06 13:19:16 -0800
committerEric Anholt <eric@anholt.net>2014-02-06 13:34:25 -0800
commiteb7a99d1bd7279584e79314b7d4ae65aa063928c (patch)
tree79ff7d584fa1fb1d2f7b1d566f2c9ac3d74ecd92
parent81ccc70837811960ad2c6ff0bc5b5f945f60d4a1 (diff)
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().
-rw-r--r--test/wgl_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wgl_common.c b/test/wgl_common.c
index 9734bf0..e81fe2d 100644
--- a/test/wgl_common.c
+++ b/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);
}
}