summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-05 18:23:28 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-05 18:23:28 +0200
commit1c1d09f3e9eb18175f48bcc212d07684577ba4a6 (patch)
tree67f91cfdf4959defb12f6de97b1d78f0ce67e39e /view.c
parent0384faeee5308d992e60084dd6565c78e6e11af4 (diff)
small boundary check fix
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.c b/view.c
index 1ca10275..70b0253c 100644
--- 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;
}