From 8e4c0d86c8df94d629413cd7863dc3a83cc21959 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 21:02:23 -0500 Subject: do not overwrite error screens from periodic loop --- menus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'menus.c') diff --git a/menus.c b/menus.c index 229020d..6f98ba7 100644 --- a/menus.c +++ b/menus.c @@ -249,7 +249,9 @@ static int Menu_Is_Item_Visible(int LCD_entry) void Update_Main_Menu_If_Visible(void) { - if (globals.MenuStatus.Type_Of_Menu == Main_Menu_On) { + if ( (globals.MenuStatus.Type_Of_Menu == Main_Menu_On) && + (globals.MenuStatus.Error_Screen == NO) && + (globals.MenuStatus.Nonstd_Display == NO)) { Show_Main_Menu(); } } -- cgit