Re: [Circle] strcat player.long_descr

From: Derek L. Karnes (dkarnes@mystech.com)
Date: 11/07/96


Superman wrote:
> 
> On Thu, 7 Nov 1996, Bill Romano wrote:
> 
> > i bet there is an extra \r\n (i know you want to know where, ummmmm
> > not sure)
> > good luck
> >
> > On Wed, 6 Nov 1996, Superman wrote:
> >
> > >     I don't know about linebacker, but the problem for me doesn't
> > > have anything to do with the sanct affection line. I get the problem
> > > RIGHT after the long_descr. e.g.: say, the character is affected by
> > > detect align, and the mob in the room with them is evil, they would see
> > > something like this:
> > >                      A foul looking thief sneaks about. [Red Aura]
> > >
> > > BUT, instead, i get:
> > >                      A foul looking thief sneaks about.
> > >                      [Red Aura]
> >
>         I've looked over all the code right up to where my problem is
> printed out. I of course was looking for an extra \r\n somewhere. But,
> i'm not able to find any. I searched for every single instance that
> long_descr is used, and none of them are doing anything wrong. I'm
> stumped. :(

Looking at the medit.c code, I see that the long_descr itself has a \r\n on it.
Maybe you can remove the characeter located at the end of the long_descr itself.
-Derek


--
                                    \ | /
                        \  /---------------------\  /
                       --    dkarnes@mystech.com    --
                        /  \---------------------/  \
                                    / | \
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST