Now supporting single Arguments
This commit is contained in:
parent
bcd00c5451
commit
da73f62ea7
2
menu.c
2
menu.c
@ -63,7 +63,7 @@ void show_menu(const struct MenuPage* pages, const size_t page_count, const bool
|
||||
{
|
||||
// Perform action
|
||||
system("cls");
|
||||
pages[page_index].items[i].action();
|
||||
pages[page_index].items[i].action(pages[page_index].items[i].param);
|
||||
action_performed = true;
|
||||
|
||||
// Pause if requested
|
||||
|
Reference in New Issue
Block a user