fixed nn declaration
authorAnselm R Garbe <garbeam@gmail.com>
Mon, 27 Jul 2009 11:01:58 +0000 (12:01 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Mon, 27 Jul 2009 11:01:58 +0000 (12:01 +0100)
config.mk
dwm.c

index 11a16f7..086424d 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 5.6.1
+VERSION = 5.7
 
 # Customize below to fit your system
 
diff --git a/dwm.c b/dwm.c
index 314d150..873b794 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1683,11 +1683,12 @@ updatebarpos(Monitor *m) {
 
 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))