mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-03-10 12:41:39 +00:00
engine: common: cmd: fix inverted check in apropos
This commit is contained in:
parent
f2f21b24a1
commit
91be4f6521
@ -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…
x
Reference in New Issue
Block a user