summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2006-02-07 16:41:29 +0000
committerHristo Kovachev <bger@rockbox.org>2006-02-07 16:41:29 +0000
commit69519a97f2340fdc81911165f9a95d9f4c436243 (patch)
treeed32bf52f1f1ccffbdc4e0c1e2a2bcfc69c166c1 /apps/tree.c
parent14cfc65414387c96025f2dbbda332dcf1c404fcb (diff)
downloadrockbox-69519a97f2340fdc81911165f9a95d9f4c436243.tar.gz
rockbox-69519a97f2340fdc81911165f9a95d9f4c436243.zip
Fixed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8608 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index d69217e5b2..ca7b83ef3f 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -639,7 +639,8 @@ static bool dirbrowse(void)
639 /* Stop the music if it is playing */ 639 /* Stop the music if it is playing */
640 if(audio_status()) 640 if(audio_status())
641 audio_stop(); 641 audio_stop();
642#if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF) 642#if defined(HAVE_CHARGING) && \
643 (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF)
643 else { 644 else {
644 if (!charger_inserted()) { 645 if (!charger_inserted()) {
645 if(shutdown_screen()) 646 if(shutdown_screen())