summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/q_shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/q_shared.c b/src/qcommon/q_shared.c
index 3e95a398..b930b0ec 100644
--- a/src/qcommon/q_shared.c
+++ b/src/qcommon/q_shared.c
@@ -948,7 +948,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);
}
/*