diff options
author | Uwe Freese <thebreaker@rockbox.org> | 2002-12-18 22:57:59 +0000 |
---|---|---|
committer | Uwe Freese <thebreaker@rockbox.org> | 2002-12-18 22:57:59 +0000 |
commit | 89a180674b90dc8a38c4e9e54accc0ceeb096542 (patch) | |
tree | 116151b7aa6d75ffe708f92e4607e5415f270b75 | |
parent | 72f784e18adad98c92438ad078432f1dc8d48636 (diff) | |
download | rockbox-89a180674b90dc8a38c4e9e54accc0ceeb096542.tar.gz rockbox-89a180674b90dc8a38c4e9e54accc0ceeb096542.zip |
fix for another sim error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3022 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/recorder/icons.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index 0413792c53..2a9c00647b 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c | |||
@@ -163,9 +163,12 @@ void statusbar_icon_battery(int percent, bool charging) | |||
163 | if (fill > 100) | 163 | if (fill > 100) |
164 | fill = 100; | 164 | fill = 100; |
165 | 165 | ||
166 | #ifdef SIMULATOR | ||
167 | if (global_settings.battery_type) { | ||
168 | #else | ||
166 | /* show graphical animation when charging instead of numbers */ | 169 | /* show graphical animation when charging instead of numbers */ |
167 | if ((global_settings.battery_type) && (charge_state != 1)) { | 170 | if ((global_settings.battery_type) && (charge_state != 1)) { |
168 | 171 | #endif | |
169 | /* Numeric display */ | 172 | /* Numeric display */ |
170 | snprintf(buffer, sizeof(buffer), "%3d", percent); | 173 | snprintf(buffer, sizeof(buffer), "%3d", percent); |
171 | lcd_setfont(FONT_SYSFIXED); | 174 | lcd_setfont(FONT_SYSFIXED); |