[quake3-bugzilla] [Bug 5944] Com_sprintf not working properly
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Fri May 31 12:47:46 EDT 2013
https://bugzilla.icculus.org/show_bug.cgi?id=5944
--- Comment #6 from signaljammed at gmail.com ---
Yes, I suppose that would work but it will require breaking everything down
into multiple steps where before it could all be done on one line. Take for
instance,
Com_sprintf(line, sizeof(line), "%s%2i ^1:^7 ", line, i);
Now in order to accomplish the same thing with strcat I would have to create a
new char to do the formatting and then call strcat to append it to line...
Com_sprintf(buffer, sizeof(buffer), "%2i ^1:^7 ", i);
strcat(line, buffer);
Doable yes but just going to be a pain in the ass. :(
--
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/9d6d107d/attachment.html>
More information about the quake3-bugzilla
mailing list