summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSt├ęphane Doyon <s.doyon@videotron.ca>2007-10-12 04:10:08 +0000
committerSt├ęphane Doyon <s.doyon@videotron.ca>2007-10-12 04:10:08 +0000
commit84ed3fd50fa2685c02c58e45a28b9cae247645ef (patch)
tree13470c46d10d0251c2ca04128cf0ad2818d87631
parent2ee85c50561bfdfcb22fc2d65444bbe1781955f0 (diff)
downloadrockbox-84ed3fd50fa2685c02c58e45a28b9cae247645ef.tar.gz
rockbox-84ed3fd50fa2685c02c58e45a28b9cae247645ef.tar.bz2
rockbox-84ed3fd50fa2685c02c58e45a28b9cae247645ef.zip
Go to the WPS on a successful bookmark_mrb_load() from the MRB,
rather than popping back to the root menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15084 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/root_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 5baa1b39cb..358dc0bed6 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -277,7 +277,8 @@ static int radio(void* param)
static int load_bmarks(void* param)
{
(void)param;
- bookmark_mrb_load();
+ if(bookmark_mrb_load())
+ return GO_TO_WPS;
return GO_TO_PREVIOUS;
}
static int plugins_menu(void* param)