From 73eee2402eec80b745141689ecff2d4ecf36035e Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 13 Dec 2006 08:30:26 -0700 Subject: Use XDisplayName() when reporting errors (bug 8079). --- progs/xdemos/manywin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/xdemos/manywin.c') diff --git a/progs/xdemos/manywin.c b/progs/xdemos/manywin.c index c9cca751341..cfea555210a 100644 --- a/progs/xdemos/manywin.c +++ b/progs/xdemos/manywin.c @@ -59,7 +59,7 @@ static GLuint TexObj = 0; static void Error(const char *display, const char *msg) { - fprintf(stderr, "Error on display %s - %s\n", display, msg); + fprintf(stderr, "Error on display %s - %s\n", XDisplayName(display), msg); exit(1); } -- cgit v1.2.3