summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2011-02-28 12:14:34 +0000
committerDave Chapman <dave@dchapman.com>2011-02-28 12:14:34 +0000
commit224c8262eef7ac7ad036504f5123d58dfc045df5 (patch)
tree5266d7e59952dc6c9e26e6cc30c7fef7dbe7471e /apps/root_menu.c
parent793eab19b9b582f920b710aef80d6ddacde598c2 (diff)
downloadrockbox-224c8262eef7ac7ad036504f5123d58dfc045df5.tar.gz
rockbox-224c8262eef7ac7ad036504f5123d58dfc045df5.tar.bz2
rockbox-224c8262eef7ac7ad036504f5123d58dfc045df5.zip
Change the condition for including the shutdown menu item to something more appropriate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29462 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 7d2c800e61..3418ee9a38 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -431,7 +431,7 @@ MENUITEM_RETURNVALUE(playlists, ID2P(LANG_PLAYLISTS), GO_TO_PLAYLISTS_SCREEN,
MENUITEM_RETURNVALUE(system_menu_, ID2P(LANG_SYSTEM), GO_TO_SYSTEM_SCREEN,
NULL, Icon_System_menu);
-#ifdef HAVE_LCD_CHARCELLS
+#if CONFIG_KEYPAD == PLAYER_PAD
static int do_shutdown(void)
{
#if CONFIG_CHARGING