Browse Source

applied a fix related to Sanders remark to growcol

Anselm R. Garbe 19 years ago
parent
commit
c7ae6334b7
1 changed files with 1 additions and 1 deletions
  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)