mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-04 16:32:39 +00:00
Use strlcpy here
This commit is contained in:
parent
981f515919
commit
0fb15a3f35
1 changed files with 1 additions and 1 deletions
|
@ -1234,7 +1234,7 @@ void readgametype(MYFILE *f, INT32 num)
|
||||||
else if (fastcmp(word, "IDENTIFIER"))
|
else if (fastcmp(word, "IDENTIFIER"))
|
||||||
{
|
{
|
||||||
// GT_
|
// GT_
|
||||||
strncpy(gtconst, word2, MAXLINELEN);
|
strlcpy(gtconst, word2, sizeof(gtconst));
|
||||||
}
|
}
|
||||||
// Point and time limits
|
// Point and time limits
|
||||||
else if (fastcmp(word, "DEFAULTPOINTLIMIT"))
|
else if (fastcmp(word, "DEFAULTPOINTLIMIT"))
|
||||||
|
|
Loading…
Reference in a new issue