Explorar el Código

applied a fix related to Sanders remark to growcol

Anselm R. Garbe hace 19 años
padre
commit
c7ae6334b7
Se han modificado 1 ficheros con 1 adiciones y 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)