RE: v2a20 formatting and date problems

From: Tom von Alten <>
Date: Fri, 14 May 1999 08:35:24 -0600
Message-ID: <001d01be9e17$00fed650$>

I wrote:
> On line 451 of print.c, we've reached the end of the headers
> we're going to show, and the following code seems to get executed:
> if(pre /*set_showhtml && set_showheaders && pre*/) {
> fprintf(fp, "</PRE>\n");
> pre=FALSE;
> }
> fprintf(fp, "<P>\n");
> It appears that the test should be
> if(set_showhtml && pre) {
> rather than just (pre). Or maybe just (set_showhtml).
> I tried it out with just (set_showhtml) and the message looks
> right, but it ends up with a <P> in the <pre> block...

Well yeah - as per the code I quoted above. :-/ The obvious occurred to me on the way to work this morning.

So, should the "<P>\n" fprintf be in the "if" block, too?

_____________ Hewlett-Packard Computer Peripherals Bristol Tom von Alten

          This posting is for informational purposes only.
          It is not a statement of the Hewlett-Packard Co.
Received on Fri 14 May 1999 04:34:52 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:51 PM GMT GMT