forked from len0rd/rockbox
Move all valid menu return codes to a single file (root_menu.h) so we don't need to rely on GO_TO_ROOT == MENU_ATTACHED_USB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12937 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
40595bd57a
commit
91e726a1c1
4 changed files with 17 additions and 10 deletions
|
|
@ -737,7 +737,7 @@ int menu_show(int m)
|
|||
switch (value)
|
||||
{
|
||||
case MENU_ATTACHED_USB:
|
||||
/* case GO_TO_ROOT: */
|
||||
case GO_TO_ROOT:
|
||||
return MENU_ATTACHED_USB;
|
||||
case GO_TO_PREVIOUS:
|
||||
return MENU_SELECTED_EXIT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue