author | Anselm R. Garbe <arg@10kloc.org> |
Tue, 05 Sep 2006 16:11:52 +0200 | |
changeset 425 | 67f37b93ac73 |
parent 424 | 62145595dba9 |
child 426 | 21df917c2719 |
--- a/view.c Tue Sep 05 16:05:09 2006 +0200 +++ b/view.c Tue Sep 05 16:11:52 2006 +0200 @@ -193,12 +193,12 @@ return; if(sel == getnext(clients)) { - if(mw + arg->i > sw - 100) + if(mw + arg->i > sw - 100 || mw + arg->i < 100) return; mw += arg->i; } else { - if(mw - arg->i < 100) + if(mw - arg->i > sw - 100 || mw - arg->i < 100) return; mw -= arg->i; }