* 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-861f7616d084
master
Giel van Schijndel 2007-12-16 16:02:54 +00:00
parent 88bf925cb8
commit f1f1a19be4
1 changed files with 1 additions and 1 deletions

View File

@ -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);