Re: [Circle][Code][Bug] % formatting

From: Ronald Evers (dlanor@xs4all.nl)
Date: 11/05/02


> Alex wrote:
> > I found another little '%' bug. I think it's the same "format
> > string error" problem as this:
> >
> > http://post.queensu.ca/cgi-bin/listserv/wa?A2=ind0209&L=circle
> > &P=R10455&X=16D1991F2F22372CD0&Y=dlanor@xs4all.nl
> >
> > In lib/text/news it says: "..at 25% greater than..". This gets
messed
> > up if you type news on the mud: "at 25 1.87673e-152reater".

> Actually, it might be a page function.  I don't recall offhand. :)

Ahhh, stupid me.. After finding that format string error in stock
wiznet I introduced my own when I added colorcodes for users in
vwrite_to_output in comm.c.. Since all the output goes through it,
so does the news file :P

Thanks for the suggestions Alex & George ;)

Ronald


ps: Sorry I got the subject of this thread so messed up..

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT