From 78d2ba3ef5bf108f11eb3f709089bb28c2142fa8 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 22:38:32 +0800 Subject: [PATCH] MDC UI --- ui/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/menu.c b/ui/menu.c index 5dd8c56..c8eb745 100644 --- a/ui/menu.c +++ b/ui/menu.c @@ -700,7 +700,7 @@ void UI_DisplayMenu(void) { //} // else if(gIsInSubMenu){ // show the channel name being edited - edit_index=0; + edit_index= edit_index<0?0:edit_index; memmove(edit_original, edit, sizeof(edit_original)); UI_PrintStringSmall(edit, menu_item_x1, menu_item_x2, 3);