summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-06-16 05:14:51 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-06-16 05:14:51 +0000
commit2c44b7fd1c299055c66a56778da80bf1c04cb9bd (patch)
tree16af3811bf8172ceafef9923e71cc8eb5aec1726 /apps/root_menu.c
parentaf9f4056510f248c4c9c1335167853bb455e8cc0 (diff)
downloadrockbox-2c44b7fd1c299055c66a56778da80bf1c04cb9bd.tar.gz
rockbox-2c44b7fd1c299055c66a56778da80bf1c04cb9bd.tar.bz2
rockbox-2c44b7fd1c299055c66a56778da80bf1c04cb9bd.zip
For those who dont have the memory of a <Something that has really good memory> 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
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c2
1 files changed, 2 insertions, 0 deletions
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,