summaryrefslogtreecommitdiff
path: root/apps/plugins/chopper.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chopper.c')
-rw-r--r--apps/plugins/chopper.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c
index 71e24deb8f..a206192974 100644
--- a/apps/plugins/chopper.c
+++ b/apps/plugins/chopper.c
@@ -767,8 +767,11 @@ static void chopDrawScene(void)
767} 767}
768 768
769static bool _ingame; 769static bool _ingame;
770static int chopMenuCb(int action, const struct menu_item_ex *this_item) 770static int chopMenuCb(int action,
771 const struct menu_item_ex *this_item,
772 struct gui_synclist *this_list)
771{ 773{
774 (void)this_list;
772 if(action == ACTION_REQUEST_MENUITEM 775 if(action == ACTION_REQUEST_MENUITEM
773 && !_ingame && ((intptr_t)this_item)==0) 776 && !_ingame && ((intptr_t)this_item)==0)
774 return ACTION_EXIT_MENUITEM; 777 return ACTION_EXIT_MENUITEM;