From 9d42e2b39632047b0ba272c03ec154b3931c43de Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 30 Jan 2005 13:48:44 +0000 Subject: Renamed the config variable for the battery display type to battery_display to get it out of the way for the upcoming battery_type setting for the Ondio. Also seems more logical. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5711 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 5d045be048..63f1415af8 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -136,14 +136,14 @@ static bool flip_display(void) /** * Menu to configure the battery display on status bar */ -static bool battery_type(void) +static bool battery_display(void) { static const struct opt_items names[] = { { STR(LANG_DISPLAY_GRAPHIC) }, { STR(LANG_DISPLAY_NUMERIC) } }; return set_option( str(LANG_BATTERY_DISPLAY), - &global_settings.battery_type, INT, names, 2, NULL); + &global_settings.battery_display, INT, names, 2, NULL); } /** @@ -1195,7 +1195,7 @@ static bool bars_settings_menu(void) { ID2P(LANG_BUTTON_BAR), button_bar }, #endif { ID2P(LANG_VOLUME_DISPLAY), volume_type }, - { ID2P(LANG_BATTERY_DISPLAY), battery_type }, + { ID2P(LANG_BATTERY_DISPLAY), battery_display }, }; m=menu_init( items, sizeof(items) / sizeof(*items), NULL, -- cgit v1.2.3