diff options
author | Hristo Kovachev <bger@rockbox.org> | 2006-02-07 16:41:29 +0000 |
---|---|---|
committer | Hristo Kovachev <bger@rockbox.org> | 2006-02-07 16:41:29 +0000 |
commit | 69519a97f2340fdc81911165f9a95d9f4c436243 (patch) | |
tree | ed32bf52f1f1ccffbdc4e0c1e2a2bcfc69c166c1 /apps/tree.c | |
parent | 14cfc65414387c96025f2dbbda332dcf1c404fcb (diff) | |
download | rockbox-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.c | 3 |
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()) |