Silence less stupid fucking warning

git-svn-id: https://svn.eduke32.com/eduke32@6969 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-08-09 16:07:14 +00:00
parent e9961ec5a3
commit 0cc54720db

View file

@ -5435,7 +5435,7 @@ static int32_t Menu_RunInput_MouseReturn(void)
static void Menu_Run_AbbreviateNameIntoBuffer(const char* name, int32_t entrylength)
{
int32_t len = Bstrlen(name);
Bstrncpy(tempbuf, name, len);
Bstrncpy(tempbuf, name, ARRAY_SIZE(tempbuf));
if (len > entrylength)
{
len = entrylength-3;