diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 03981c6310..e51cac478c 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -978,9 +978,17 @@ static int view_cue_item_callback(int action, | |||
978 | MENUITEM_FUNCTION(view_cue_item, 0, ID2P(LANG_BROWSE_CUESHEET), | 978 | MENUITEM_FUNCTION(view_cue_item, 0, ID2P(LANG_BROWSE_CUESHEET), |
979 | view_cue, NULL, view_cue_item_callback, Icon_NOICON); | 979 | view_cue, NULL, view_cue_item_callback, Icon_NOICON); |
980 | 980 | ||
981 | |||
982 | static int browse_id3_wrapper(void) | ||
983 | { | ||
984 | if (browse_id3()) | ||
985 | return GO_TO_ROOT; | ||
986 | return GO_TO_PREVIOUS; | ||
987 | } | ||
988 | |||
981 | /* CONTEXT_WPS items */ | 989 | /* CONTEXT_WPS items */ |
982 | MENUITEM_FUNCTION(browse_id3_item, 0, ID2P(LANG_MENU_SHOW_ID3_INFO), | 990 | MENUITEM_FUNCTION(browse_id3_item, MENU_FUNC_CHECK_RETVAL, ID2P(LANG_MENU_SHOW_ID3_INFO), |
983 | browse_id3, NULL, NULL, Icon_NOICON); | 991 | browse_id3_wrapper, NULL, NULL, Icon_NOICON); |
984 | #ifdef HAVE_PITCHSCREEN | 992 | #ifdef HAVE_PITCHSCREEN |
985 | MENUITEM_FUNCTION(pitch_screen_item, 0, ID2P(LANG_PITCH), | 993 | MENUITEM_FUNCTION(pitch_screen_item, 0, ID2P(LANG_PITCH), |
986 | gui_syncpitchscreen_run, NULL, NULL, Icon_Audio); | 994 | gui_syncpitchscreen_run, NULL, NULL, Icon_Audio); |