engine: common: cmd: fix inverted check in apropos
This commit is contained in:
parent
f2f21b24a1
commit
91be4f6521
1 changed files with 1 additions and 1 deletions
|
@ -1264,7 +1264,7 @@ static void Cmd_Apropos_f( void )
|
||||||
|
|
||||||
partial = Cmd_Args();
|
partial = Cmd_Args();
|
||||||
|
|
||||||
if( Q_strpbrk( partial, "*?" ))
|
if( !Q_strpbrk( partial, "*?" ))
|
||||||
{
|
{
|
||||||
Q_snprintf( buf, sizeof( buf ), "*%s*", partial );
|
Q_snprintf( buf, sizeof( buf ), "*%s*", partial );
|
||||||
partial = buf;
|
partial = buf;
|
||||||
|
|
Loading…
Add table
Reference in a new issue