summaryrefslogtreecommitdiffstats
path: root/apps/gui/statusbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/statusbar.h')
-rw-r--r--apps/gui/statusbar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h
index e7fe92eaf9..816205e2b4 100644
--- a/apps/gui/statusbar.h
+++ b/apps/gui/statusbar.h
@@ -85,8 +85,9 @@ extern void gui_statusbar_init(struct gui_statusbar * bar);
* - bar : the statusbar structure
* - display : the screen to attach
*/
-#define gui_statusbar_set_screen(gui_statusbar, screen) \
- (gui_statusbar)->display = screen
+#define gui_statusbar_set_screen(gui_statusbar, _display) \
+ (gui_statusbar)->display = (_display);
+
/*
* Draws the status bar on the attached screen