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
@@ -469,7 +469,7 @@ bool CoreProviderImpl::GetGameName(char *buffer, size_t maxlength)
const char *str;
if ((str = pGameInfo->GetString("game", NULL)) != NULL)
{
strncopy(buffer, str, maxlength);
ke::SafeStrcpy(buffer, maxlength, str);
pGameInfo->deleteThis();
return true;
}