JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
small boundary check fix
authorAnselm R. Garbe <arg@10kloc.org>
Thu, 5 Oct 2006 16:23:28 +0000 (18:23 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Thu, 5 Oct 2006 16:23:28 +0000 (18:23 +0200)
view.c

diff --git a/view.c b/view.c
index 1ca1027..70b0253 100644 (file)
--- a/view.c
+++ b/view.c
@@ -248,12 +248,12 @@ resizecol(Arg *arg) {
                return;
 
        if(sel == getnext(clients)) {
-               if(master + arg->i > 95 || master + arg->i < 5)
+               if(master + arg->i > 950 || master + arg->i < 50)
                        return;
                master += arg->i;
        }
        else {
-               if(master - arg->i > 95 || master - arg->i < 5)
+               if(master - arg->i > 950 || master - arg->i < 50)
                        return;
                master -= arg->i;
        }