summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/root_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index d94f28d756..dcd281a469 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -500,7 +500,7 @@ void root_menu(void)
int next_screen = GO_TO_ROOT;
int selected = 0;
- if ((global_status.last_screen&0xff) == -1)
+ if (global_status.last_screen == (char)-1)
global_status.last_screen = GO_TO_ROOT;
if (global_settings.start_in_screen == 0)