summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2002-12-18 22:57:59 +0000
committerUwe Freese <thebreaker@rockbox.org>2002-12-18 22:57:59 +0000
commit89a180674b90dc8a38c4e9e54accc0ceeb096542 (patch)
tree116151b7aa6d75ffe708f92e4607e5415f270b75 /apps
parent72f784e18adad98c92438ad078432f1dc8d48636 (diff)
downloadrockbox-89a180674b90dc8a38c4e9e54accc0ceeb096542.zip
rockbox-89a180674b90dc8a38c4e9e54accc0ceeb096542.tar.gz
rockbox-89a180674b90dc8a38c4e9e54accc0ceeb096542.tar.bz2
rockbox-89a180674b90dc8a38c4e9e54accc0ceeb096542.tar.xz
fix for another sim error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3022 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/icons.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index 0413792..2a9c006 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -163,9 +163,12 @@ void statusbar_icon_battery(int percent, bool charging)
if (fill > 100)
fill = 100;
+#ifdef SIMULATOR
+ if (global_settings.battery_type) {
+#else
/* show graphical animation when charging instead of numbers */
if ((global_settings.battery_type) && (charge_state != 1)) {
-
+#endif
/* Numeric display */
snprintf(buffer, sizeof(buffer), "%3d", percent);
lcd_setfont(FONT_SYSFIXED);