(iOS) Buildfix

This commit is contained in:
twinaphex 2017-04-23 14:37:06 +02:00
parent d76c09fd08
commit 6667560263

View File

@ -775,10 +775,8 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- (void)menuBack - (void)menuBack
{ {
#ifdef HAVE_MENU #ifdef HAVE_MENU
size_t selection;
menu_entry_t entry = {{0}}; menu_entry_t entry = {{0}};
size_t selection = menu_navigation_get_selection();
menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, & selection);
menu_entry_get(&entry, 0, selection, NULL, false); menu_entry_get(&entry, 0, selection, NULL, false);
menu_entry_action(&entry, (unsigned int)selection, MENU_ACTION_CANCEL); menu_entry_action(&entry, (unsigned int)selection, MENU_ACTION_CANCEL);