Merge remote-tracking branch 'ledvinap/MK3' into fix_compiler_warnings
This commit is contained in:
commit
ca97e2232f
1 changed files with 4 additions and 1 deletions
|
@ -75,7 +75,10 @@ void menu_end(void)
|
||||||
|
|
||||||
void menu_back(void)
|
void menu_back(void)
|
||||||
{
|
{
|
||||||
if (menu_depth > 0) menu_goto(menu_stack[--menu_depth].menu, menu_stack[menu_depth].position, true, true);
|
if (menu_depth > 0) {
|
||||||
|
menu_depth--;
|
||||||
|
menu_goto(menu_stack[menu_depth].menu, menu_stack[menu_depth].position, true, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void menu_back_if_clicked(void)
|
void menu_back_if_clicked(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue