Remove strncopy().

This commit is contained in:
David Anderson
2015-09-09 14:57:47 -07:00
parent 67ba703b84
commit e08697ad54
13 changed files with 37 additions and 39 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ bool SM_ExecuteConfig(IPlugin *pl, AutoConfig *cfg, bool can_create)
char *dptr = descr;
/* Print comments until there is no more */
strncopy(descr, cvar->GetHelpText(), sizeof(descr));
ke::SafeStrcpy(descr, sizeof(descr), cvar->GetHelpText());
while (*dptr != '\0')
{
/* Find the next line */