summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-11-07 01:26:22 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-11-07 01:26:22 +0000
commit9b6d3d74b380625f62fccb985043e864c648d330 (patch)
tree114ae82ecd3e7c2d8ea040fcb3e4d9569c6890b3
parent7e0fe361d7fee56605eb763a505fd4508ca1fb40 (diff)
Replace enum statusbar_values in global_settings with int, fixing crash with -fshort-enums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23546 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 5dfcc7cb14..880078885f 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -563,9 +563,9 @@ struct user_settings
int volume_type; /* how volume is displayed: 0=graphic, 1=percent */
int battery_display; /* how battery is displayed: 0=graphic, 1=percent */
bool show_icons; /* 0=hide 1=show */
- enum statusbar_values statusbar; /* STATUSBAR_* enum values */
+ int statusbar; /* STATUSBAR_* enum values */
#ifdef HAVE_REMOTE_LCD
- enum statusbar_values remote_statusbar;
+ int remote_statusbar;
#endif
#if CONFIG_KEYPAD == RECORDER_PAD