aewl

diff view.c @ 528:c0fffe6c207e

changing MASTER value from percent into per mill
author Anselm R. Garbe <arg@10kloc.org>
date Thu, 05 Oct 2006 18:18:47 +0200
parents c71952fa3c7c
children e2bd83191fc6
line diff
     1.1 --- a/view.c	Thu Oct 05 19:00:58 2006 +0200
     1.2 +++ b/view.c	Thu Oct 05 18:18:47 2006 +0200
     1.3 @@ -110,12 +110,12 @@
     1.4  		n++;
     1.5  
     1.6  	if(stackpos == StackBottom) {
     1.7 -		md = ((sh - bh) * master) / 100;
     1.8 +		md = ((sh - bh) * master) / 1000;
     1.9  		stackw = sw;
    1.10  		stackh = sh - bh - md;
    1.11  	}
    1.12  	else {
    1.13 -		md = (sw * master) / 100;
    1.14 +		md = (sw * master) / 1000;
    1.15  		stackw = sw - md;
    1.16  		stackh = sh - bh;
    1.17  	}