Sfoglia il codice sorgente

applied a fix related to Sanders remark to growcol

Anselm R. Garbe 19 anni fa
parent
commit
c7ae6334b7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)