From c7ae6334b7f0e8ac1fbc4da977fef4b92792767b Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 5 Sep 2006 13:19:18 +0200 Subject: applied a fix related to Sanders remark to growcol --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view.c') diff --git a/view.c b/view.c index dc10e5e..f1be609 100644 --- a/view.c +++ b/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) -- cgit v1.2.3-70-g09d2