From 94ff970dd74367f85a22b1981c969306e90f14b5 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 21:38:41 +0800 Subject: [PATCH] MDC UI --- app/menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/menu.c b/app/menu.c index 9a4b84c..c467fdf 100644 --- a/app/menu.c +++ b/app/menu.c @@ -1453,11 +1453,11 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld) { if (edit_index < 0) { -// edit_index = 0; + edit_index = 0; -// while (edit_index < 4) -// edit[edit_index++] = '_'; + while (edit_index < 4) + edit[edit_index++] = '_'; 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 memmove(edit_original, edit, sizeof(edit_original));