summaryrefslogtreecommitdiffstats
path: root/apps/onplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c6
1 files changed, 1 insertions, 5 deletions
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;