diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-09-07 10:27:31 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-09-07 10:27:31 -0400 |
commit | 959e1cf54cea0a3252c4852224a290c56c50df2a (patch) | |
tree | 4dd7bd4407e405ed3a2ead1fafe2fa8074db6c02 /menus.c | |
parent | b9264ec05328aae8f29e56d945f5168848b89737 (diff) |
style fixes
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; |