Karl Ramm <[EMAIL PROTECTED]> writes: > I realize it's been a while, but can you describe the behavior that this > fixes?
Oh my it has! I don't remember at all, but skimming the code again it looks like info->alignment=' ' indicates a newline. So the code sometimes accumulates two lines' worth of widths into one if info->ignore is set on a newline. I can't quite figure when you would have info->ignore and info->alignment=' ' but it must have been happening. As a result zephyrs were often formatted far too wide. > > This fixes a problem that often messes up left/center/right alignment. > > > > --- tty_filter.c.~1~ 2003-03-09 16:21:37.000000000 -0500 > > +++ tty_filter.c 2003-04-13 18:47:16.000000000 -0400 > > @@ -395,7 +395,7 @@ > > int right = 0; > > > > for (; info; info=info->next) { > > - if (info->ignore) > > + if (info->ignore && info->alignment != ' ') > > continue; > > switch (info->alignment) { > > case 'l': IIRC (!) info->alignment = ' ' indicates a piece of text which doesn't take any space at all. typically something like "foo" in @font(foo) -- greg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]