fixed nn declaration
authorAnselm R Garbe <garbeam@gmail.com>
Mon, 27 Jul 2009 12:01:58 +0100
changeset 1477 aefd753cfe9b
parent 1476 81c2899aecb8
child 1478 cf5bb4e72804
fixed nn declaration
config.mk
dwm.c
--- a/config.mk	Sun Jul 26 14:02:28 2009 +0100
+++ b/config.mk	Mon Jul 27 12:01:58 2009 +0100
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 5.6.1
+VERSION = 5.7
 
 # Customize below to fit your system
 
--- a/dwm.c	Sun Jul 26 14:02:28 2009 +0100
+++ b/dwm.c	Mon Jul 27 12:01:58 2009 +0100
@@ -1683,11 +1683,12 @@
 
 void
 updategeom(void) {
-	int i, n = 1, nn;
+	int i, n = 1;
 	Client *c;
 	Monitor *newmons = NULL, *m = NULL, *tm;
 
 #ifdef XINERAMA
+	int nn;
 	XineramaScreenInfo *info = NULL;
 
 	if(XineramaIsActive(dpy))