and now, coverity will be happy?

This commit is contained in:
jeefo 2015-06-29 22:06:55 +03:00
commit f8fe675e65
3 changed files with 7 additions and 7 deletions

View file

@ -1222,7 +1222,7 @@ char *Localizer::TranslateInput (const char *input)
if (ptr != input)
ptr++;
strncpy (string, input, ARRAYSIZE_HLSDK (string));
strncpy (string, input, SIZEOF_CHAR (string));
strtrim (string);
FOR_EACH_AE (m_langTab, i)