(menu_entry.c) Cleanups
This commit is contained in:
parent
0007bd0662
commit
5bbbf72b17
|
@ -432,7 +432,6 @@ int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
menu_navigation_t *nav = menu_navigation_get_ptr();
|
menu_navigation_t *nav = menu_navigation_get_ptr();
|
||||||
menu_display_t *disp = menu_display_get_ptr();
|
|
||||||
menu_list_t *menu_list = menu_list_get_ptr();
|
menu_list_t *menu_list = menu_list_get_ptr();
|
||||||
menu_file_list_cbs_t *cbs = menu_list_get_actiondata_at_offset(menu_list->selection_buf, i);
|
menu_file_list_cbs_t *cbs = menu_list_get_actiondata_at_offset(menu_list->selection_buf, i);
|
||||||
|
|
||||||
|
@ -492,8 +491,11 @@ int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_ACTION_MESSAGE:
|
case MENU_ACTION_MESSAGE:
|
||||||
if (disp)
|
{
|
||||||
disp->msg_force = true;
|
menu_display_t *disp = menu_display_get_ptr();
|
||||||
|
if (disp)
|
||||||
|
disp->msg_force = true;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_ACTION_SEARCH:
|
case MENU_ACTION_SEARCH:
|
||||||
|
|
Loading…
Reference in New Issue