author | arg@mig29 |
Fri, 03 Nov 2006 08:29:39 +0100 | |
changeset 561 | b5435d3fb7b0 |
parent 560 | 349ba0dc3fa7 |
child 562 | def7247888d4 |
--- a/view.c Thu Nov 02 10:18:22 2006 +0100 +++ b/view.c Fri Nov 03 08:29:39 2006 +0100 @@ -196,9 +196,13 @@ void resizemaster(Arg *arg) { - if(master + arg->i > 950 || master + arg->i < 50) - return; - master += arg->i; + if(arg->i == 0) + master = MASTER; + else { + if(master + arg->i > 950 || master + arg->i < 50) + return; + master += arg->i; + } arrange(); }