<html>
<head>
<base href="https://bugzilla.icculus.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Com_sprintf not working properly"
href="https://bugzilla.icculus.org/show_bug.cgi?id=5944#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Com_sprintf not working properly"
href="https://bugzilla.icculus.org/show_bug.cgi?id=5944">bug 5944</a>
from <span class="vcard"><a class="email" href="mailto:signaljammed@gmail.com" title="signaljammed@gmail.com">signaljammed@gmail.com</a>
</span></b>
<pre>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. :(</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>