Demos (master): wglinfo: add missing \n to error messages
Brian Paul
brianp at kemper.freedesktop.org
Wed May 22 00:30:05 UTC 2013
Module: Demos
Branch: master
Commit: 7d28a4f1cd5dab6dfe26de5f40d86e29967e4f17
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=7d28a4f1cd5dab6dfe26de5f40d86e29967e4f17
Author: Brian Paul <brianp at vmware.com>
Date: Tue May 21 18:29:57 2013 -0600
wglinfo: add missing \n to error messages
---
src/wgl/wglinfo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wgl/wglinfo.c b/src/wgl/wglinfo.c
index 31ee361..41f2a31 100644
--- a/src/wgl/wglinfo.c
+++ b/src/wgl/wglinfo.c
@@ -473,13 +473,13 @@ print_screen_info(HDC _hdc, GLboolean limits, GLboolean singleLine)
wc.hInstance,
NULL);
if (!win) {
- fprintf(stderr, "Couldn't create window");
+ fprintf(stderr, "Couldn't create window\n");
return;
}
hdc = GetDC(win);
if (!hdc) {
- fprintf(stderr, "Couldn't obtain HDC");
+ fprintf(stderr, "Couldn't obtain HDC\n");
return;
}
More information about the mesa-commit
mailing list