summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:04:21 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:04:21 -0500
commit800397d175a8747234121460aa4a8d04ee2c40b8 (patch)
tree3961778e6af38b54b4f4288a5b3c635361d849fe /menus.c
parente153488780f86cf6f647b814f8ff6f3a535a0d7e (diff)
compile regexes before clearing boot screen
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/menus.c b/menus.c
index 3c574ec..a1d0a4e 100644
--- a/menus.c
+++ b/menus.c
@@ -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;