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

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; --page_index;
else else
{ {
if (page_key == 'n' || page_key == 'm')
break;
page_changed = false; page_changed = false;
itemKey = page_key; itemKey = page_key;
do { do {