Question

From: Andrey Fidrya (andrey@alex-ua.com)
Date: 11/15/98


void show_obj_to_char(struct obj_data * object, struct char_data * ch,
                        int mode)
{
....
  strcat(buf, "\r\n");
  page_string(ch->desc, buf, TRUE);
}

Is there any reason to use page_string here?
Why can't it be something like "send_to_char(buf, ch)"?

Btw, there is a bug in do_last: it adds 1 extra \r\n.
(ctime adds \r\n and we append one more \r\n to buf, so just remove \r\n from
sprintf):
-  sprintf(buf, "[%5ld] [%2d %s] %-12s : %-18s : %-20s\r\n",
+  sprintf(buf, "[%5ld] [%2d %s] %-12s : %-18s : %-20s",

  Andrey


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



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