mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
S/W last instance of strncpy usage.
This commit is contained in:
parent
5535773521
commit
2425082a04
1 changed files with 1 additions and 1 deletions
|
@ -1727,7 +1727,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