mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00: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 )
|
if( *c )
|
||||||
*c = 0;
|
*c = 0;
|
||||||
|
|
||||||
strcpy( groupName, fullgroup );
|
Q_strncpy( groupName, fullgroup, sizeof( groupName ));
|
||||||
|
|
||||||
len = Sequence_GetLine( data, sizeof( data ) );
|
len = Sequence_GetLine( data, sizeof( data ) );
|
||||||
lastCharacterPos = len - 1;
|
lastCharacterPos = len - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user