diff options
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/q_shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/q_shared.c b/code/qcommon/q_shared.c index 18b71d3..6fa6b76 100644 --- a/code/qcommon/q_shared.c +++ b/code/qcommon/q_shared.c @@ -599,7 +599,7 @@ void SkipBracedSection (char **program) { depth = 0; do { token = COM_ParseExt( program, qtrue ); - if( token[1] == 0 ) { + if( *program && token[1] == 0 ) { if( token[0] == '{' ) { depth++; } |