forked from len0rd/rockbox
Pressing Menu in the Rockbox Menu puts you back in the previous screen.
Hopefully simplify the code a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12643 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dc1fc3c51b
commit
a74eefe1b2
2 changed files with 18 additions and 17 deletions
|
|
@ -675,6 +675,8 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
|
|||
{
|
||||
if (menu != &root_menu_)
|
||||
ret = GO_TO_ROOT;
|
||||
else
|
||||
ret = GO_TO_PREVIOUS;
|
||||
}
|
||||
else if (action == ACTION_STD_CANCEL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue