summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-09-07 10:27:31 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-09-07 10:27:31 -0400
commit959e1cf54cea0a3252c4852224a290c56c50df2a (patch)
tree4dd7bd4407e405ed3a2ead1fafe2fa8074db6c02 /menus.c
parentb9264ec05328aae8f29e56d945f5168848b89737 (diff)
style fixes
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;