aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-06-01 00:18:02 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-06-01 00:18:02 +0000
commit1afcf706fa76e9d5d0ff7035b671a269a53014cf (patch)
treeb2eab9e84e0f75c49e0415ff1c178ba6afc82578 /code/renderer
parent9443266c858435da2df22618c6a098c136e917d8 (diff)
downloadioquake3-aero-1afcf706fa76e9d5d0ff7035b671a269a53014cf.tar.gz
ioquake3-aero-1afcf706fa76e9d5d0ff7035b671a269a53014cf.zip
Replace a few sprintf with Com_sprintf
git-svn-id: svn://svn.icculus.org/quake3/trunk@1565 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer')
-rw-r--r--code/renderer/tr_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c
index 0681919..dfe6ca0 100644
--- a/code/renderer/tr_init.c
+++ b/code/renderer/tr_init.c
@@ -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 );