Bug fixes

Fix a bug which caused page scrolling to fail with invalid input order
This commit is contained in:
Simon 2020-01-16 08:26:10 +01:00
parent 14b4677e98
commit c5063870e0
1 changed files with 3 additions and 0 deletions

3
menu.c
View File

@ -47,6 +47,9 @@ void show_menu(const struct MenuPage* pages, const size_t page_count, const bool
--page_index;
else
{
if (page_key == 'n' || page_key == 'm')
break;
page_changed = false;
itemKey = page_key;
do {