diff options
Diffstat (limited to 'apps/gui/statusbar.c')
| -rw-r--r-- | apps/gui/statusbar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index 5aac200..4710eba 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c @@ -188,6 +188,9 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) { struct screen * display = bar->display; + if (!display) + return; + #ifdef HAVE_LCD_CHARCELLS int val; (void)force_redraw; /* The Player always has "redraw" */ |