* Fix a bug in iV_DrawTextRotatedFv where I used sprintf instead of vsprintf
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3076 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
88bf925cb8
commit
f1f1a19be4
|
@ -639,7 +639,7 @@ void iV_DrawTextRotatedFv(float x, float y, float rotation, const char* format,
|
|||
char* str = alloca(size + 1);
|
||||
|
||||
// Print into our newly created string buffer
|
||||
sprintf(str, format, ap);
|
||||
vsprintf(str, format, ap);
|
||||
|
||||
// Draw the produced string to the screen at the given position and rotation
|
||||
iV_DrawTextRotated(str, x, y, rotation);
|
||||
|
|
Loading…
Reference in New Issue