9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: steve@quintile.net, 9fans@9fans.net
Subject: Re: [9fans] tbl fixes
Date: Tue, 16 Oct 2012 09:29:11 -0400	[thread overview]
Message-ID: <7ce245f9482276dda2514553ac632dd1@brasstown.quanstro.net> (raw)
In-Reply-To: <E1B6C232-1494-47A3-9326-D88FD35169A4@quintile.net>

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



      reply	other threads:[~2012-10-16 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16  7:11 steve
2012-10-16 13:29 ` erik quanstrom [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7ce245f9482276dda2514553ac632dd1@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    --cc=steve@quintile.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).