JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
hotfix
authorAnselm R. Garbe <arg@10kloc.org>
Tue, 5 Sep 2006 11:20:29 +0000 (13:20 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Tue, 5 Sep 2006 11:20:29 +0000 (13:20 +0200)
view.c

diff --git a/view.c b/view.c
index f1be609..8f5ad64 100644 (file)
--- a/view.c
+++ b/view.c
@@ -172,7 +172,9 @@ focusprev(Arg *arg)
 void
 growcol(Arg *arg)
 {
-       if(!sel || !clients || !clients->next || (arrange != dotile))
+       Client *c = getnext(clients);
+
+       if(!sel || !c || !getnext(c->next) || (arrange != dotile))
                return;
        if(sel == getnext(clients)) {
                if(mw + arg->i > sw - 100)