diff options
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -236,12 +236,12 @@ void Menu_Update_Display(void) int show_item; int old_cursor_pos; - if ( (globals.MenuStatus.Type_Of_Menu != Main_Menu_On) || - (globals.MenuStatus.Error_Screen == YES) || - (globals.MenuStatus.Nonstd_Display == YES) ) { - LCD_clear(); + if ( (globals.MenuStatus.Type_Of_Menu != Main_Menu_On) || + (globals.MenuStatus.Error_Screen == YES) || + (globals.MenuStatus.Nonstd_Display == YES) ) { + LCD_clear(); globals.Changes.update_whole_main_menu = TRUE; - } + } LCD_entry=-1; sig_dig = 4; @@ -1247,12 +1247,12 @@ static void Submenu_Display(int change_selection) int channel; // FIXME - check for redundant clearing - if ( (globals.MenuStatus.Type_Of_Menu != Submenu_On) || - (globals.MenuStatus.Error_Screen == YES) || - (globals.MenuStatus.Nonstd_Display == YES) || - (!change_selection)) { - LCD_clear(); - } + if ( (globals.MenuStatus.Type_Of_Menu != Submenu_On) || + (globals.MenuStatus.Error_Screen == YES) || + (globals.MenuStatus.Nonstd_Display == YES) || + (!change_selection)) { + LCD_clear(); + } globals.MenuStatus.Type_Of_Menu=Submenu_On; globals.MenuStatus.Error_Screen=NO; |