mGUI: Fix cheat max length

This commit is contained in:
Vicki Pfau 2022-10-06 21:38:09 -07:00
parent e7159ac771
commit 4508797e35
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ static void mGUIShowCheatSet(struct mGUIRunner* runner, struct mCheatDevice* dev
switch (action) {
case CHEAT_ADD_LINE:
strlcpy(keyboard.title, "Add line", sizeof(keyboard.title));
keyboard.maxLen = 12;
keyboard.maxLen = 17;
if (runner->params.getText(&keyboard) == GUI_KEYBOARD_DONE) {
mCheatAddLine(set, keyboard.result, 0);
_rebuildCheatView(&view.items, set);