Browse Source

engine: sequence: use Q_strncpy instead of standard strcpy

pull/2/head
Alibek Omarov 3 years ago
parent
commit
0c18a06946
  1. 2
      engine/common/sequence.c

2
engine/common/sequence.c

@ -1247,7 +1247,7 @@ qboolean Sequence_ParseSentenceLine( void ) @@ -1247,7 +1247,7 @@ qboolean Sequence_ParseSentenceLine( void )
if( *c )
*c = 0;
strcpy( groupName, fullgroup );
Q_strncpy( groupName, fullgroup, sizeof( groupName ));
len = Sequence_GetLine( data, sizeof( data ) );
lastCharacterPos = len - 1;

Loading…
Cancel
Save