diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:04:21 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:04:21 -0500 |
commit | 800397d175a8747234121460aa4a8d04ee2c40b8 (patch) | |
tree | 3961778e6af38b54b4f4288a5b3c635361d849fe /menus.c | |
parent | e153488780f86cf6f647b814f8ff6f3a535a0d7e (diff) |
compile regexes before clearing boot screen
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -258,20 +258,6 @@ void Show_Main_Menu(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(); - } - - LCD_entry=-1; - sig_dig = 4; - Submenu_extra_fine=NO; - - globals.MenuStatus.Type_Of_Menu=Main_Menu_On; - globals.MenuStatus.Error_Screen=NO; - globals.MenuStatus.Nonstd_Display=NO; - // update remote/local info before starting screen writes, to avoid // odd-looking pauses @@ -318,6 +304,21 @@ void Show_Main_Menu(void) g_free (step6); + if ( (globals.MenuStatus.Type_Of_Menu != Main_Menu_On) || + (globals.MenuStatus.Error_Screen == YES) || + (globals.MenuStatus.Nonstd_Display == YES) ) { + LCD_clear(); + } + + LCD_entry=-1; + sig_dig = 4; + Submenu_extra_fine=NO; + + globals.MenuStatus.Type_Of_Menu=Main_Menu_On; + globals.MenuStatus.Error_Screen=NO; + globals.MenuStatus.Nonstd_Display=NO; + + /* fill in unused cursor columns */ for (i=0; i<(menu_cursor_pos % LCD_max_entries_per_page); ++i) { LCD_row=i % LCD_rows; |