From 2c44b7fd1c299055c66a56778da80bf1c04cb9bd Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 16 Jun 2009 05:14:51 +0000 Subject: For those who dont have the memory of a show in the main menu that there is nothing to resume to stop the annoying "nothing to resume" splash git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21307 a1c6a512-1295-4272-9138-f99709370657 --- apps/root_menu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/root_menu.c') diff --git a/apps/root_menu.c b/apps/root_menu.c index 39d3fbe7ab..20791a737f 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -359,6 +359,8 @@ static char *get_wps_item_name(int selected_item, void * data, char *buffer) (void)selected_item; (void)data; (void)buffer; if (audio_status()) return ID2P(LANG_NOW_PLAYING); + else if ( global_status.resume_index < 0 ) + return ID2P(LANG_NOTHING_TO_RESUME); return ID2P(LANG_RESUME_PLAYBACK); } MENUITEM_RETURNVALUE_DYNTEXT(wps_item, GO_TO_WPS, NULL, get_wps_item_name, -- cgit