# HG changeset patch # User Anselm R.Garbe # Date 1155206024 -7200 # Node ID 87c5d5176e1760fa7de872d7e9f81eac0bb3b972 # Parent e5390f8e06b98d6057c95eaeaece14a4fcd50f28 fixed the issue reported by sander (gaps at left columns button due to round-offs) diff -r e5390f8e06b9 -r 87c5d5176e17 tag.c --- a/tag.c Thu Aug 10 11:26:32 2006 +0200 +++ b/tag.c Thu Aug 10 12:33:44 2006 +0200 @@ -106,7 +106,10 @@ c->x = sx + mw; c->y = sy + (i - 1) * h + bh; c->w = w - 2; - c->h = h - 2; + if(i + 1 == n) + c->h = sh - c->y - 2; + else + c->h = h - 2; } else { /* fallback if h < bh */ c->x = sx + mw;