diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-02-21 22:05:32 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-02-21 22:05:32 +0000 |
commit | 84a4a1d5cc214e7450b60c006bef24ae550a76f3 (patch) | |
tree | a98bb65673b083fa84d1e06f32f008079143f241 /apps/gui/statusbar.h | |
parent | e9cd0f1c7aaa0443a3a2a33161fadf838862eda2 (diff) | |
download | rockbox-84a4a1d5cc214e7450b60c006bef24ae550a76f3.tar.gz rockbox-84a4a1d5cc214e7450b60c006bef24ae550a76f3.zip |
statusbar_position should also return enum statusbar_values if it's a macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24833 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/statusbar.h')
-rw-r--r-- | apps/gui/statusbar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h index 7c3086ed3b..8a938d177c 100644 --- a/apps/gui/statusbar.h +++ b/apps/gui/statusbar.h | |||
@@ -107,7 +107,7 @@ void gui_statusbar_changed(enum screen_type screen, | |||
107 | enum statusbar_values old); | 107 | enum statusbar_values old); |
108 | #if !defined(HAVE_REMOTE_LCD) || defined(__PCTOOL__) | 108 | #if !defined(HAVE_REMOTE_LCD) || defined(__PCTOOL__) |
109 | #include "settings.h" | 109 | #include "settings.h" |
110 | #define statusbar_position(a) (global_settings.statusbar) | 110 | #define statusbar_position(a) ((enum statusbar_values)global_settings.statusbar) |
111 | #else | 111 | #else |
112 | enum statusbar_values statusbar_position(int screen); | 112 | enum statusbar_values statusbar_position(int screen); |
113 | #endif | 113 | #endif |