aewl

diff view.c @ 515:d6d1d0033e3c

removed useless updatemaster
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 17:25:49 +0200
parents e43292f339ea
children 73afe7587bea
line diff
     1.1 --- a/view.c	Fri Sep 29 17:20:05 2006 +0200
     1.2 +++ b/view.c	Fri Sep 29 17:25:49 2006 +0200
     1.3 @@ -340,16 +340,11 @@
     1.4  		stackpos = STACKPOS;
     1.5  	else
     1.6  		stackpos = StackBottom;
     1.7 -	updatemaster();
     1.8 +	master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
     1.9  	arrange(NULL);
    1.10  }
    1.11  
    1.12  void
    1.13 -updatemaster(void) {
    1.14 -	master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
    1.15 -}
    1.16 -
    1.17 -void
    1.18  view(Arg *arg) {
    1.19  	unsigned int i;
    1.20