summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-10-12 18:47:33 +0000
committerNils Wallménius <nils@rockbox.org>2009-10-12 18:47:33 +0000
commite1439fa010c3e5d42d08978b8864e0407ae573dc (patch)
treeb9af76f322fbe96a4b3185c92be76dbcdc16f31a /apps
parentefdbcc114caa0e25b4900f8b2f6f444632a618e0 (diff)
downloadrockbox-e1439fa010c3e5d42d08978b8864e0407ae573dc.tar.gz
rockbox-e1439fa010c3e5d42d08978b8864e0407ae573dc.tar.bz2
rockbox-e1439fa010c3e5d42d08978b8864e0407ae573dc.zip
fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23135 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/screens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 3e7018686f..3917f31a96 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -295,7 +295,6 @@ static void charging_display_info(bool animate)
const int pox_y = 32;
static unsigned phase = 3;
unsigned i;
- const char *s;
#ifdef NEED_ATA_POWER_BATT_MEASURE
if (ide_powered()) /* FM and V2 can only measure when ATA power is on */
@@ -311,6 +310,7 @@ static void charging_display_info(bool animate)
#ifdef ARCHOS_RECORDER
lcd_puts(0, 2, "Charge mode:");
+ const char *s;
if (charge_state == CHARGING)
s = str(LANG_BATTERY_CHARGE);
else if (charge_state == TOPOFF)