diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-08-13 14:39:31 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-13 14:39:31 +0000 |
commit | 279ef752cb00fc3586a912d33053f387bc45947c (patch) | |
tree | f89aa3825e07a5522b403fffa1ac4f87b927c85f | |
parent | 20b9bc5c0a62e3bca446b2b077a381da7802d475 (diff) | |
download | rockbox-279ef752cb00fc3586a912d33053f387bc45947c.tar.gz rockbox-279ef752cb00fc3586a912d33053f387bc45947c.zip |
Make quickscreen items enum name lower-case, as per docs/CONTRIBUTING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22291 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/quickscreen.c | 2 | ||||
-rw-r--r-- | apps/gui/quickscreen.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index 3385a754a6..20d27380d2 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c | |||
@@ -442,7 +442,7 @@ bool is_setting_quickscreenable(const struct settings_list *setting) | |||
442 | } | 442 | } |
443 | 443 | ||
444 | void set_as_qs_item(const struct settings_list *setting, | 444 | void set_as_qs_item(const struct settings_list *setting, |
445 | enum QUICKSCREEN_ITEM item) | 445 | enum quickscreen_item item) |
446 | { | 446 | { |
447 | int i; | 447 | int i; |
448 | for(i=0;i<nb_settings;i++) | 448 | for(i=0;i<nb_settings;i++) |
diff --git a/apps/gui/quickscreen.h b/apps/gui/quickscreen.h index d37bac3b8b..2a67916d37 100644 --- a/apps/gui/quickscreen.h +++ b/apps/gui/quickscreen.h | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include "screen_access.h" | 29 | #include "screen_access.h" |
30 | 30 | ||
31 | enum QUICKSCREEN_ITEM { | 31 | enum quickscreen_item { |
32 | QUICKSCREEN_LEFT = 0, | 32 | QUICKSCREEN_LEFT = 0, |
33 | QUICKSCREEN_RIGHT, | 33 | QUICKSCREEN_RIGHT, |
34 | QUICKSCREEN_BOTTOM, | 34 | QUICKSCREEN_BOTTOM, |
@@ -49,6 +49,6 @@ extern bool quick_screen_quick(int button_enter); | |||
49 | int quickscreen_set_option(void *data); | 49 | int quickscreen_set_option(void *data); |
50 | bool is_setting_quickscreenable(const struct settings_list *setting); | 50 | bool is_setting_quickscreenable(const struct settings_list *setting); |
51 | void set_as_qs_item(const struct settings_list *setting, | 51 | void set_as_qs_item(const struct settings_list *setting, |
52 | enum QUICKSCREEN_ITEM item); | 52 | enum quickscreen_item item); |
53 | #endif /*_GUI_QUICK_SCREEN_H_*/ | 53 | #endif /*_GUI_QUICK_SCREEN_H_*/ |
54 | #endif /* HAVE_QUICKSCREEN */ | 54 | #endif /* HAVE_QUICKSCREEN */ |