changeset 417:a43c395003bc

applied a fix related to Sanders remark to growcol
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 05 Sep 2006 13:19:18 +0200 (2006-09-05)
parents e689e540607a
children 0f351a3e5c21
files view.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/view.c	Tue Sep 05 09:37:45 2006 +0200
+++ b/view.c	Tue Sep 05 13:19:18 2006 +0200
@@ -172,7 +172,7 @@
 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)