mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-10 18:35:25 +01:00
engine: sequence: use Q_strncpy instead of standard strcpy
This commit is contained in:
parent
24edcf7d9e
commit
0c18a06946
@ -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…
Reference in New Issue
Block a user