On Tue, 30 Jul 1996, Cyber Reaper wrote:
>      if (GET_POS(d->character) == 7)
>          sprintf(prompt, "%s%n ", prompt, GET_NAME(FIGHTING(d->character)));
 Simples, muito simples...
 The compiler you are using is smart enougth to look inside the formating
string of sprintf (the "%s%n "), and the first %s is to print a string
(the "prompt") and the second one (%n) is to print some number (or
pointer, I not sure).
 So, if you change the %n to a %s it will work.
      Jorge Guilherme
+-----------------------------------------------------------+
| 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/07/00 PST