(Menu) Before we do cbs->refresh, reset 'cbs' - could have become

invalid
This commit is contained in:
twinaphex 2015-08-22 20:24:19 +02:00
parent 2196e734d3
commit b826305e3c

View File

@ -425,6 +425,8 @@ int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action)
break;
}
cbs = menu_list_get_actiondata_at_offset(menu_list->selection_buf, i);
if (menu_entries_needs_refresh())
{
if (cbs && cbs->action_refresh)