This commit is contained in:
wu58430 2023-12-04 22:55:34 +08:00
parent 60a28c1a0f
commit 45a776a0b3

View file

@ -1443,10 +1443,8 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
// edit_index = 0; // 'edit_index' is going to be used as the cursor position // edit_index = 0; // 'edit_index' is going to be used as the cursor position
// make a copy so we can test for change when exiting the menu item // make a copy so we can test for change when exiting the menu item
memmove(edit_original, edit, sizeof(edit_original)); memmove(edit_original, edit, sizeof(edit_original));
return;
} }
else else if (edit_index >= 0 && edit_index < 4)
if (edit_index >= 0 && edit_index < 4)
{ // editing the channel name characters { // editing the channel name characters
if (++edit_index >= 4) if (++edit_index >= 4)