Is there any danger to doing this: sprintf(buf, mob->long_desc (which contains a newline code) Then do this, sprintf(buf + (strlen(buf) - 1), " more text\n"); Effectively writing over the first new line, adding more text and then adding a new 'newline'. It compiles fine and does not crashola the server. Thanks, Chuck +------------------------------------------------------------+ | 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 : 12/15/00 PST