On Sat, 11 Jan 2003, Chimico wrote: > sprintf(buf, "%s%3d) %-45s%12d\r\n", buf, x, buf2, > GET_OBJ_COST(obj)); Tsk! This was just discussed in another thread. Rewrite as: sprintf(buf + strlen(buf), "%3d) %-45s%12d\r\n", x, buf2, GET_OBJ_COST(obj)); -dak -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/26/03 PDT