Replace a few sprintf with Com_sprintf
This commit is contained in:
@@ -346,7 +346,7 @@ int WriteFloat(FILE *fp, float value)
|
||||
char buf[128];
|
||||
int l;
|
||||
|
||||
sprintf(buf, "%f", value);
|
||||
Com_sprintf(buf, sizeof(buf), "%f", value);
|
||||
l = strlen(buf);
|
||||
//strip any trailing zeros
|
||||
while(l-- > 1)
|
||||
|
Reference in New Issue
Block a user