Browse Source

engine: common: con_utils: fix const qualifier discard in Con_CheckName

pull/2/head
Alibek Omarov 2 years ago
parent
commit
da5ec56567
  1. 2
      engine/common/con_utils.c

2
engine/common/con_utils.c

@ -1041,7 +1041,7 @@ compare first argument with string
*/ */
static qboolean Cmd_CheckName( const char *name ) static qboolean Cmd_CheckName( const char *name )
{ {
char *p = Cmd_Argv( 0 ); const char *p = Cmd_Argv( 0 );
if( !Q_stricmp( p, name )) if( !Q_stricmp( p, name ))
return true; return true;

Loading…
Cancel
Save