1
0
Fork 0
forked from len0rd/rockbox

tiny logic error in my previou commit

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11840 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2006-12-26 12:44:09 +00:00
parent 7eb7c23a0f
commit be5d50e2a3

View file

@ -808,8 +808,9 @@ bool sound_menu(void)
#if CONFIG_CODEC == SWCODEC #if CONFIG_CODEC == SWCODEC
pcmbuf_set_low_latency(true); pcmbuf_set_low_latency(true);
#endif #endif
if (items[selected].function) if (items[selected].function &&
items[selected].function(); items[selected].function())
done = true;
#if CONFIG_CODEC == SWCODEC #if CONFIG_CODEC == SWCODEC
pcmbuf_set_low_latency(false); pcmbuf_set_low_latency(false);
@ -819,7 +820,7 @@ bool sound_menu(void)
} }
menu_exit(m); menu_exit(m);
return selected==MENU_ATTACHED_USB?true:false; return selected == MENU_SELECTED_EXIT ? false : true;
} }
#ifdef HAVE_RECORDING #ifdef HAVE_RECORDING