Neither, strcat and strcpy adds one string to another. And I belive they are
libary functions so like they wouldn't know of converting rom color codes.
Try searching for something like '{' might pull up where it's changing that.
----- Original Message -----
From: "Marquoz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, May 01, 2004 5:09 PM
Subject: strcat and strcpy question
> Hello,
>
> I've modified one of my areas credits to show a coloured name. When I
> look at the areas I get:
>
> [99 99] [CM[ca[Br[bq[Bu[co[Cz[x MWNN Auxiliary
>
> I've looked over the do_areas code and it uses Erwin's expandable buffer
> system. There was nothing that converted {'s to ['s in any of the code
> I've looked at. So I added in send_to_char(buf, ch) that so it showed the
> buf string before it was added to the buffer. When the send_to_char
> was sent the name was colored and the {'s weren't converted. Is it strcat
> or strcpy that is changing the {'s to ['s or something else?
>
> David Roundhill
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom