diff options
author | Jon TURNEY <[email protected]> | 2009-06-21 11:58:25 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-30 13:58:21 -0600 |
commit | 57955451f80c64f70e369508705ae95a515d18d8 (patch) | |
tree | fd52b8c28f3fbf46cd1122d859eeac4ec1fd9b08 /progs/xdemos/opencloseopen.c | |
parent | e5cb11addad31f698dc8261e7f96d5e3af4a85d6 (diff) |
xdemos: Fix xdemos which default to using display :0.0 to default to $DISPLAY
Fix xdemos which default to using display :0.0 to default to $DISPLAY,
this is kind of irritating when testing on a display other than :0.0
Signed-off-by: Jon TURNEY <[email protected]>
Diffstat (limited to 'progs/xdemos/opencloseopen.c')
-rw-r--r-- | progs/xdemos/opencloseopen.c | 2 |
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++) { |