From 224c0a13ebb5828b9bc06a9c1c23ae17f0ac19f9 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 15 Aug 2006 12:27:07 +0000 Subject: Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657 --- apps/onplay.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'apps/onplay.c') diff --git a/apps/onplay.c b/apps/onplay.c index a81b096e79..231e658ed9 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -815,11 +815,7 @@ static int onplay_callback(int key, int menu) { (void)menu; - if (key == MENU_EXIT_MENU -#ifdef MENU_RC_EXIT_MENU - || key == MENU_RC_EXIT_MENU -#endif - ) + if (key == ACTION_STD_MENU) exit_to_main = true; return key; -- cgit v1.2.3