diff --git a/code/qcommon/q_shared.c b/code/qcommon/q_shared.c index 1c99b4de..2cae73df 100644 --- a/code/qcommon/q_shared.c +++ b/code/qcommon/q_shared.c @@ -929,7 +929,7 @@ void QDECL Com_sprintf(char *dest, int size, const char *fmt, ...) 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); } /*