From 52e8f8abb1ef32209a41b4ddafac128849c7d300 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 23:06:15 +0800 Subject: [PATCH] MDC UI --- app/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/menu.c b/app/menu.c index 3b90924..41842c7 100644 --- a/app/menu.c +++ b/app/menu.c @@ -1425,7 +1425,7 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld) { #endif return; } - if (UI_MENU_GetCurrentMenuId() == MENU_MDC_ID&&edit_index >= 0 && edit_index < 4) + if (UI_MENU_GetCurrentMenuId() == MENU_MDC_IDedit_index < 4) { // editing the channel name characters if (++edit_index < 4)