Merge pull request #808 from devnexen/sw_useq

S/W last instance of strncpy usage.
This commit is contained in:
Yamagi 2022-04-03 17:46:58 +02:00 committed by GitHub
commit 9d451faca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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++)