Browse Source

small boundary check fix

master
Anselm R. Garbe 18 years ago
parent
commit
1c1d09f3e9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      view.c

+ 2
- 2
view.c View File

@ -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;
}


Loading…
Cancel
Save