Kaynağa Gözat

fixed nn declaration

Anselm R Garbe 16 yıl önce
ebeveyn
işleme
91fffb3f7d
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 1 1
      config.mk
  2. 2 1
      dwm.c

+ 1 - 1
config.mk

@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 5.6.1
+VERSION = 5.7
 
 # Customize below to fit your system
 

+ 2 - 1
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))