mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
fix red
fix Björn's name in the (c) fix FS#8105 - backing out of the submenus in the context menus shuoldnt leave the context menu completly (expect playlist which possibly makes sense?) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15513 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c14430a9c1
commit
5cab5dab0e
3 changed files with 5 additions and 8 deletions
|
@ -411,17 +411,20 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
|
|||
}
|
||||
else if (action == ACTION_STD_CANCEL)
|
||||
{
|
||||
bool exiting_menu = false;
|
||||
in_stringlist = false;
|
||||
if (menu_callback)
|
||||
menu_callback(ACTION_EXIT_MENUITEM, menu);
|
||||
|
||||
if (menu->flags&MENU_EXITAFTERTHISMENU)
|
||||
done = true;
|
||||
else if ((menu->flags&MENU_TYPE_MASK) == MT_MENU)
|
||||
exiting_menu = true;
|
||||
if (stack_top > 0)
|
||||
{
|
||||
stack_top--;
|
||||
menu = menu_stack[stack_top];
|
||||
if (menu->flags&MENU_EXITAFTERTHISMENU)
|
||||
if (!exiting_menu && (menu->flags&MENU_EXITAFTERTHISMENU))
|
||||
done = true;
|
||||
else
|
||||
init_menu_lists(menu, &lists,
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* \/ \/ \/ \/ \/
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (C) 2002 Bj<EFBFBD>rn Stenberg
|
||||
* Copyright (C) 2002 Björn Stenberg
|
||||
*
|
||||
* All files in this archive are subject to the GNU General Public License.
|
||||
* See the file COPYING in the source tree root for full license agreement.
|
||||
|
|
|
@ -80,14 +80,8 @@ void talk_force_shutup(void); /* kill voice unconditionally */
|
|||
void talk_shutup(void); /* Interrupt voice, as when enqueue is false */
|
||||
|
||||
#if CONFIG_RTC
|
||||
/* this is in talk.c which isnt compiled for hwcodec simulator */
|
||||
#if !defined(SIMULATOR) || CONFIG_CODEC == SWCODEC
|
||||
void talk_time(struct tm *tm, bool enqueue);
|
||||
void talk_date(struct tm *tm, bool enqueue);
|
||||
#else
|
||||
#define talk_date(t, e)
|
||||
#define talk_time(t, e)
|
||||
#endif
|
||||
#endif /* CONFIG_RTC */
|
||||
|
||||
/* This (otherwise invalid) ID signals the end of the array. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue