aewl

changeset 240:87c5d5176e17

fixed the issue reported by sander (gaps at left columns button due to round-offs)
author Anselm R.Garbe <arg@10ksloc.org>
date Thu, 10 Aug 2006 12:33:44 +0200
parents e5390f8e06b9
children 16f956d8f899
files tag.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/tag.c	Thu Aug 10 11:26:32 2006 +0200
     1.2 +++ b/tag.c	Thu Aug 10 12:33:44 2006 +0200
     1.3 @@ -106,7 +106,10 @@
     1.4  				c->x = sx + mw;
     1.5  				c->y = sy + (i - 1) * h + bh;
     1.6  				c->w = w - 2;
     1.7 -				c->h = h - 2;
     1.8 +				if(i + 1 == n)
     1.9 +					c->h = sh - c->y - 2;
    1.10 +				else
    1.11 +					c->h = h - 2;
    1.12  			}
    1.13  			else { /* fallback if h < bh */
    1.14  				c->x = sx + mw;