diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-12-26 12:44:09 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-12-26 12:44:09 +0000 |
commit | be5d50e2a3a3059af3ea22dc6e9bf64e5ebcade2 (patch) | |
tree | 5e385779704c701fe559da18295067d715f77d7a | |
parent | 7eb7c23a0fe43e066ba27a80d2a2e34c0cdef6c7 (diff) | |
download | rockbox-be5d50e2a3a3059af3ea22dc6e9bf64e5ebcade2.tar.gz rockbox-be5d50e2a3a3059af3ea22dc6e9bf64e5ebcade2.zip |
tiny logic error in my previou commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11840 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/sound_menu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 6e4523cb89..19dc57b1a7 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c | |||
@@ -808,8 +808,9 @@ bool sound_menu(void) | |||
808 | #if CONFIG_CODEC == SWCODEC | 808 | #if CONFIG_CODEC == SWCODEC |
809 | pcmbuf_set_low_latency(true); | 809 | pcmbuf_set_low_latency(true); |
810 | #endif | 810 | #endif |
811 | if (items[selected].function) | 811 | if (items[selected].function && |
812 | items[selected].function(); | 812 | items[selected].function()) |
813 | done = true; | ||
813 | 814 | ||
814 | #if CONFIG_CODEC == SWCODEC | 815 | #if CONFIG_CODEC == SWCODEC |
815 | pcmbuf_set_low_latency(false); | 816 | pcmbuf_set_low_latency(false); |
@@ -819,7 +820,7 @@ bool sound_menu(void) | |||
819 | } | 820 | } |
820 | menu_exit(m); | 821 | menu_exit(m); |
821 | 822 | ||
822 | return selected==MENU_ATTACHED_USB?true:false; | 823 | return selected == MENU_SELECTED_EXIT ? false : true; |
823 | } | 824 | } |
824 | 825 | ||
825 | #ifdef HAVE_RECORDING | 826 | #ifdef HAVE_RECORDING |