From 91fffb3f7d0cd731aa2a2126c411590d30231c19 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Mon, 27 Jul 2009 12:01:58 +0100 Subject: fixed nn declaration --- config.mk | 2 +- dwm.c | 3 ++- 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)) -- cgit v1.2.3-13-gbd6f