summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-01-06 00:19:56 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-01-06 00:19:56 +0000
commit049f6cf4807f493a9f48714f647a9998e7d63511 (patch)
tree45927d860e7f42aaa264399acb6214a41952d459
parente2a5ed1c1d36b8813a5323fcaaf18e4c0770f024 (diff)
HasXinerama is an int
ok oga@
-rw-r--r--app/cwm/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/screen.c b/app/cwm/screen.c
index 19217938b..ee5a001bb 100644
--- a/app/cwm/screen.c
+++ b/app/cwm/screen.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: screen.c,v 1.11 2008/09/29 23:16:46 oga Exp $
+ * $Id: screen.c,v 1.12 2009/01/06 00:19:55 okan Exp $
*/
#include "headers.h"
@@ -83,7 +83,7 @@ screen_init_xinerama(struct screen_ctx *sc)
if (info == NULL) {
/*is xinerama is actually off, instead of a malloc failure? */
if (sc->xinerama == NULL)
- HasXinerama = NULL;
+ HasXinerama = 0;
return;
}