Explorar o código

applied a fix related to Sanders remark to growcol

Anselm R. Garbe %!s(int64=19) %!d(string=hai) anos
pai
achega
c7ae6334b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)