summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/opencloseopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/opencloseopen.c')
-rw-r--r--progs/xdemos/opencloseopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/opencloseopen.c b/progs/xdemos/opencloseopen.c
index 0b8d0618431..756096095ef 100644
--- a/progs/xdemos/opencloseopen.c
+++ b/progs/xdemos/opencloseopen.c
@@ -158,7 +158,7 @@ main(int argc, char *argv[])
Display *dpy;
Window win;
GLXContext ctx;
- char *dpyName = ":0";
+ char *dpyName = NULL;
int i;
for (i = 1; i < argc; i++) {