engine: common: cmd: fix inverted check in apropos

This commit is contained in:
Alibek Omarov 2023-03-11 07:50:33 +03:00
parent f2f21b24a1
commit 91be4f6521
1 changed files with 1 additions and 1 deletions

View File

@ -1264,7 +1264,7 @@ static void Cmd_Apropos_f( void )
partial = Cmd_Args();
if( Q_strpbrk( partial, "*?" ))
if( !Q_strpbrk( partial, "*?" ))
{
Q_snprintf( buf, sizeof( buf ), "*%s*", partial );
partial = buf;