mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: sequence: use Q_strncpy instead of standard strcpy
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user