Re: [CODE] VisionMUD class_spells_index buffer overflows

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 08/07/00


Oops, missed something...

Peter Ajamian wrote:
>
> Torgny Bjers wrote:
>
> >   sprintf(str,"&CSpells & Skills available for &G%ss&C.\r\n", buf1);
                            ^                         ^^

You're using colorcodes, so you need to make this &&, not &.

Also, did you mean to have two 's'es there?

Regards, Peter


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT