From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 16 Oct 2012 09:29:11 -0400 To: steve@quintile.net, 9fans@9fans.net Message-ID: <7ce245f9482276dda2514553ac632dd1@brasstown.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] tbl fixes Topicbox-Message-UUID: be137fc4-ead7-11e9-9d60-3106f5b1d025 On Tue Oct 16 03:12:41 EDT 2012, steve@quintile.net wrote: > i seem to remember that someone (erik?) fixed a bug in tbl > which is causing it to misalign the edges of the boxes it draws around tables. > > i looked in the archives but cannot see it, > > anyone any ideas? tbl often misaligns if it is thinking one font and you're thinking another. :-) i did find some tbl changes that were cosmetic. the only one of any substance looks to the following. but the negative case should just use a huge number. i would just use (int)(uintptr) to follow the rest of the code. int point(char *ss) { - vlong s = (uintptr)ss; + int s = (int)(uintptr)ss; return(s >= 128 || s < 0); } - erik