Re: [htdig] next page icons have


Subject: Re: [htdig] next page icons have
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Mon Dec 13 1999 - 10:52:12 PST


According to Aaron Turner:
> Hmm... I looked there. didn't find anything that looked out of place for
> page_number_text, and I don't have page_number_separator set. The other
> thing which I aluded to, but didn't explain well was that the '1' doesn't
> show up after the last page icon or the next arrow. So if there are 5
> pages of output, only 1 - 4 will have the '1' after it, but not after the
> 5. If there are 8, then 1 -7 will have it, but not 8.
...
> On Sun, 12 Dec 1999, Geoff Hutchison wrote:
>
> > On Sun, 12 Dec 1999, Aaron Turner wrote:
> >
> > > I'm trying to figure out why after some next page icons I'm getting a '1'
> > > between the images. If there are 5 pages of results, then page 1 - 4 have
> > > a '1' after them. Ex:
> >
> > Take a look at your conf file. This would be coming from a setting for the
> > page_number_separator or page_number_text attributes.

This looks a lot like what would happen if you applied, to the 3.1.3 source,
the highlighting patch I submitted back on October 29. It contained a bug,
around line 524 in Display.cc. The line:

                str << (sep.Count() > 0) ? sep[(i-1)%sep.Count()] : " ";

should be:

                str << ((sep.Count() > 0) ? sep[(i-1)%sep.Count()] : " ");

This was discussed in followup e-mails, and a corrected patch was posted
on the patch site on November 8. This correction should solve the problem.

Or better still, upgrade to 3.1.4 which fixes this and many other bugs.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Mon Dec 13 1999 - 11:05:44 PST