[quake3-bugzilla] [Bug 5944] Com_sprintf not working properly

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Fri May 31 14:07:42 EDT 2013


--- Comment #9 from Ben Millwood <bugzilla at benmachine.co.uk> ---
Another way is something along the lines of

l = strlen(copy);
Com_sprintf(&copy[l], sizeof(copy) - l, "%2i ^1:^7", ... );

Often you already know the length of copy (or can easily keep track of it), so
you can skip the first step.

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3-bugzilla/attachments/20130531/07848251/attachment.html>

More information about the quake3-bugzilla mailing list