summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/menus.c b/menus.c
index 0d9a859..2f3ab22 100644
--- a/menus.c
+++ b/menus.c
@@ -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;