Now supporting single Arguments #9
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