Re: Bug fix!

From: Shane P. Lee (tacodog21@yahoo.com)
Date: 08/28/02


--- Alex <fletchra@qsilver.queensu.ca> wrote:
> > This is the offending line:
> >
> >       send_to_char(ch, "%c%s", UPPER(*i->player.short_descr),
> > i->player.short_descr);
> >
> >      send_to_char(ch, "%s", CAP(i->player.short_descr));
> This is bad because it changes the original string.  A better fix
> would
> be:
>        send_to_char(ch, "%c%s", UPPER(*i->player.short_descr),
>                     i->player.short_descr+1);
>
> Ae.
>
> --

Actually, I contacted George off-list about this same feature a few
weeks back. My fix was the same as Tseran's (*blush*) but George was
nice enough to correct me. He said the fix was already part of the
current CVS, apparently put in long before _I_ emailed him about it.

-FIRE

=====
**************************************
 * "Mommy! Make the bad man go away!" *
 **************************************

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
   +---------------------------------------------------------------+
   | 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