Procházet zdrojové kódy

applied a fix related to Sanders remark to growcol

Anselm R. Garbe před 19 roky
rodič
revize
c7ae6334b7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      view.c

+ 1 - 1
view.c

@@ -172,7 +172,7 @@ focusprev(Arg *arg)
 void
 growcol(Arg *arg)
 {
-	if(!sel || (arrange != dotile))
+	if(!sel || !clients || !clients->next || (arrange != dotile))
 		return;
 	if(sel == getnext(clients)) {
 		if(mw + arg->i > sw - 100)