diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/tree.c b/apps/tree.c index 2230f17aa9..d2660513a5 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -74,7 +74,7 @@ void browse_root(void) | |||
74 | 74 | ||
75 | #define MARGIN_Y 0 /* Y pixel margin */ | 75 | #define MARGIN_Y 0 /* Y pixel margin */ |
76 | #define MARGIN_X 10 /* X pixel margin */ | 76 | #define MARGIN_X 10 /* X pixel margin */ |
77 | #define LINE_Y (global_settings.statusbar&&statusbar_enabled?1:0) /* Y position the entry-list starts at */ | 77 | #define LINE_Y (global_settings.statusbar ? 1 : 0) /* Y position the entry-list starts at */ |
78 | #define LINE_X 0 /* X position the entry-list starts at */ | 78 | #define LINE_X 0 /* X position the entry-list starts at */ |
79 | #define LINE_HEIGTH 8 /* pixels for each text line */ | 79 | #define LINE_HEIGTH 8 /* pixels for each text line */ |
80 | 80 | ||
@@ -522,10 +522,9 @@ bool dirbrowse(char *root) | |||
522 | case BUTTON_F3: | 522 | case BUTTON_F3: |
523 | #endif | 523 | #endif |
524 | #ifdef HAVE_LCD_BITMAP | 524 | #ifdef HAVE_LCD_BITMAP |
525 | if(global_settings.statusbar) { | 525 | global_settings.statusbar = !global_settings.statusbar; |
526 | statusbar_toggle(); | 526 | settings_save(); |
527 | restore = true; | 527 | restore = true; |
528 | } | ||
529 | #endif | 528 | #endif |
530 | break; | 529 | break; |
531 | 530 | ||