Skip to content
Snippets Groups Projects
Commit 0768032a authored by MascaraSnake's avatar MascaraSnake
Browse files

Merge branch 'master' of git.magicalgirl.moe:STJr/SRB2Internal

parents 4dde4c6d 53cfba1f
No related branches found
No related tags found
No related merge requests found
......@@ -1593,7 +1593,7 @@ static void CV_SetValueMaybeStealth(consvar_t *var, INT32 value, boolean stealth
if ((value < 0) || (value >= numskins))
sprintf(val, "None");
else
sprintf(val, "%s", skins[value].name);
strncpy(val, skins[value].name, sizeof val);
}
else
sprintf(val, "%d", value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment