engine: common: simplified strings operations.

This commit is contained in:
Andrey Akhmichin
2020-11-22 11:49:39 +05:00
committed by Alibek Omarov
parent 299e3fe957
commit abd9778ef3
14 changed files with 105 additions and 69 deletions

View File

@@ -344,7 +344,7 @@ delta_info_t *Delta_FindStructByEncoder( const char *encoderName )
{
int i;
if( !encoderName || !encoderName[0] )
if( !COM_CheckString( encoderName ) )
return NULL;
for( i = 0; i < NUM_FIELDS( dt_info ); i++ )