about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2009-07-27 12:01:58 +0100
committerAnselm R Garbe <garbeam@gmail.com>2009-07-27 12:01:58 +0100
commit91fffb3f7d0cd731aa2a2126c411590d30231c19 (patch)
tree1749a47503fe573c9e8f1b8e4d377b214b02fc5d
parent1fa31efebf74f699ce91add53bc08a8e3ec2dccc (diff)
downloaddwm-91fffb3f7d0cd731aa2a2126c411590d30231c19.tar.gz
fixed nn declaration
-rw-r--r--config.mk2
-rw-r--r--dwm.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 11a16f7..086424d 100644
--- 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
--- 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))