diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-01-30 13:48:44 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-01-30 13:48:44 +0000 |
commit | 9d42e2b39632047b0ba272c03ec154b3931c43de (patch) | |
tree | f0ff2ba1de9aa479fb1476a29d4a701fd8898a1e /apps/recorder/icons.c | |
parent | c07eafa7bcc230ff0dd8d45b65bbd21e075dafb0 (diff) | |
download | rockbox-9d42e2b39632047b0ba272c03ec154b3931c43de.tar.gz rockbox-9d42e2b39632047b0ba272c03ec154b3931c43de.zip |
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
Diffstat (limited to 'apps/recorder/icons.c')
-rw-r--r-- | apps/recorder/icons.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index cb7e3a4d99..4e8601d77a 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c @@ -248,15 +248,15 @@ void statusbar_icon_battery(int percent, bool charging) fill = 100; #ifdef SIMULATOR - if (global_settings.battery_type && (percent > -1)) { + if (global_settings.battery_display && (percent > -1)) { #else #ifdef HAVE_CHARGE_CTRL /* Recorder */ /* show graphical animation when charging instead of numbers */ - if ((global_settings.battery_type) && + if ((global_settings.battery_display) && (charge_state != 1) && (percent > -1)) { #else /* FM */ - if (global_settings.battery_type && (percent > -1)) { + if (global_settings.battery_display && (percent > -1)) { #endif /* HAVE_CHARGE_CTRL */ #endif /* Numeric display */ |