Fix a warning in menus.c, introduced in r4519.

git-svn-id: https://svn.eduke32.com/eduke32@4521 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2014-06-23 02:24:28 +00:00
parent 24728ba291
commit 879b3e406b

View file

@ -2740,7 +2740,7 @@ static int32_t M_MenuEntryStringSubmit(MenuGroup_t *group, MenuEntry_t *entry, c
returnvar = -1;
}
else
Bstrncpy(object->variable, object->editfield, object->maxlength);
Bstrncpy(object->variable, input, object->maxlength);
G_SavePlayerMaybeMulti(group->currentEntry);