I am tring to print a string such in the following manner: sprintf(buf, "%-50s %d\r\n", string, var); However, if the string contains color codes, the second argument does not line up correctly, ie. sprintf does not display 50 spaces before the second var is printed. How can I force this to keep the spacing correct? -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