From 1cf1734d5a4c890efc63b31f7baae734d7407b57 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 10 Dec 2006 10:20:32 +0000 Subject: [PATCH] Fix window bug. --- stepmania/src/archutils/Unix/X11Helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/archutils/Unix/X11Helper.cpp b/stepmania/src/archutils/Unix/X11Helper.cpp index a80ded7117..baec3ff57f 100644 --- a/stepmania/src/archutils/Unix/X11Helper.cpp +++ b/stepmania/src/archutils/Unix/X11Helper.cpp @@ -31,7 +31,7 @@ void X11Helper::CloseXConnection() bool X11Helper::MakeWindow( Window &win, int screenNum, int depth, Visual *visual, int width, int height, bool overrideRedirect ) { - if( !Dpy || !Win ) + if( !Dpy ) return false; XSetWindowAttributes winAttribs;