[quake3-commits] r2028 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jun 15 12:26:51 EDT 2011
Author: thilo
Date: 2011-06-15 12:26:51 -0400 (Wed, 15 Jun 2011)
New Revision: 2028
Modified:
trunk/code/qcommon/q_shared.c
Log:
Need space of len+1 for snprintf to work
Modified: trunk/code/qcommon/q_shared.c
===================================================================
--- trunk/code/qcommon/q_shared.c 2011-06-15 15:31:37 UTC (rev 2027)
+++ trunk/code/qcommon/q_shared.c 2011-06-15 16:26:51 UTC (rev 2028)
@@ -929,7 +929,7 @@
va_end (argptr);
if(len >= size)
- Com_Printf("Com_sprintf: Output length %d too short, require %d bytes.\n", size, len);
+ Com_Printf("Com_sprintf: Output length %d too short, require %d bytes.\n", size, len + 1);
}
/*
More information about the quake3-commits
mailing list