Skip to content
Snippets Groups Projects
Commit 0fb15a3f authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Use strlcpy here

parent 981f5159
Branches
No related tags found
No related merge requests found
......@@ -1234,7 +1234,7 @@ void readgametype(MYFILE *f, INT32 num)
else if (fastcmp(word, "IDENTIFIER"))
{
// GT_
strncpy(gtconst, word2, MAXLINELEN);
strlcpy(gtconst, word2, sizeof(gtconst));
}
// Point and time limits
else if (fastcmp(word, "DEFAULTPOINTLIMIT"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment