Replace a few sprintf with Com_sprintf

This commit is contained in:
Thilo Schulz 2009-06-01 00:18:02 +00:00
parent e0a2100df5
commit eaaaa6f5fc
3 changed files with 5 additions and 5 deletions

View file

@ -518,7 +518,7 @@ void R_LevelShot( void ) {
float xScale, yScale;
int xx, yy;
sprintf( checkname, "levelshots/%s.tga", tr.world->baseName );
Com_sprintf(checkname, sizeof(checkname), "levelshots/%s.tga", tr.world->baseName);
source = ri.Hunk_AllocateTempMemory( glConfig.vidWidth * glConfig.vidHeight * 3 );