small boundary check fix
Anselm R. Garbe arg@10kloc.org
Thu, 05 Oct 2006 18:23:28 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
view.c
→
view.c
@@ -248,12 +248,12 @@ if(!sel || sel->isfloat || n < 2 || (arrange == dofloat))
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; }