mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Merge pull request #808 from devnexen/sw_useq
S/W last instance of strncpy usage.
This commit is contained in:
commit
9d451faca5
1 changed files with 1 additions and 1 deletions
|
@ -1739,7 +1739,7 @@ RE_SetSky (char *name, float rotate, vec3_t axis)
|
|||
int i;
|
||||
char pathname[MAX_QPATH];
|
||||
|
||||
strncpy (skyname, name, sizeof(skyname)-1);
|
||||
Q_strlcpy (skyname, name, sizeof(skyname));
|
||||
VectorCopy (axis, skyaxis);
|
||||
|
||||
for (i=0 ; i<6 ; i++)
|
||||
|
|
Loading…
Reference in a new issue