engine: fix parsing -bugcomp flags, assume bugcomp flags only starts with alphabetic character
This commit is contained in:
parent
37083c8aef
commit
31c0934108
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ static uint32_t Host_CheckBugcomp( void )
|
|||
if( !Sys_CheckParm( "-bugcomp" ))
|
||||
return 0;
|
||||
|
||||
if( Sys_GetParmFromCmdLine( "-bugcomp", args ) && args[0] != '-' )
|
||||
if( Sys_GetParmFromCmdLine( "-bugcomp", args ) && isalpha( args[0] ))
|
||||
{
|
||||
for( prev = args, next = Q_strchrnul( prev, '+' ); ; prev = next + 1, next = Q_strchrnul( prev, '+' ))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue