diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/root_menu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index dcd281a469..4b9be39a8c 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -500,9 +500,6 @@ void root_menu(void) | |||
500 | int next_screen = GO_TO_ROOT; | 500 | int next_screen = GO_TO_ROOT; |
501 | int selected = 0; | 501 | int selected = 0; |
502 | 502 | ||
503 | if (global_status.last_screen == (char)-1) | ||
504 | global_status.last_screen = GO_TO_ROOT; | ||
505 | |||
506 | if (global_settings.start_in_screen == 0) | 503 | if (global_settings.start_in_screen == 0) |
507 | next_screen = (int)global_status.last_screen; | 504 | next_screen = (int)global_status.last_screen; |
508 | else next_screen = global_settings.start_in_screen - 2; | 505 | else next_screen = global_settings.start_in_screen - 2; |