summaryrefslogtreecommitdiff
path: root/apps/plugins/jewels.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/jewels.c')
-rw-r--r--apps/plugins/jewels.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c
index 87a9d2fabf..cae3befb5e 100644
--- a/apps/plugins/jewels.c
+++ b/apps/plugins/jewels.c
@@ -1471,8 +1471,11 @@ static bool jewels_help(void)
1471} 1471}
1472 1472
1473static bool _ingame; 1473static bool _ingame;
1474static int jewels_menu_cb(int action, const struct menu_item_ex *this_item) 1474static int jewels_menu_cb(int action,
1475 const struct menu_item_ex *this_item,
1476 struct gui_synclist *this_list)
1475{ 1477{
1478 (void)this_list;
1476 int i = ((intptr_t)this_item); 1479 int i = ((intptr_t)this_item);
1477 if(action == ACTION_REQUEST_MENUITEM 1480 if(action == ACTION_REQUEST_MENUITEM
1478 && !_ingame && (i==0 || i==6)) 1481 && !_ingame && (i==0 || i==6))