mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Silence less stupid fucking warning
git-svn-id: https://svn.eduke32.com/eduke32@6969 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e9961ec5a3
commit
0cc54720db
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue