diff options
Diffstat (limited to 'src/qcommon/parse.c')
-rw-r--r-- | src/qcommon/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/parse.c b/src/qcommon/parse.c index 2156f75b..c3b6e0ce 100644 --- a/src/qcommon/parse.c +++ b/src/qcommon/parse.c @@ -2546,7 +2546,7 @@ static int Parse_Directive_include(source_t *source) break; } if (token.type == TT_PUNCTUATION && *token.string == '>') break; - strncat(path, token.string, MAX_QPATH); + strncat(path, token.string, MAX_QPATH - 1); } if (*token.string != '>') { |