Bug fixes
Fix a bug which caused page scrolling to fail with invalid input order
This commit is contained in:
3
menu.c
3
menu.c
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user