summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
authorTomas Salfischberger <tomas@rockbox.org>2006-03-04 23:53:09 +0000
committerTomas Salfischberger <tomas@rockbox.org>2006-03-04 23:53:09 +0000
commitc2e86cd0d919a5ec93014359ebf1340593fdc84a (patch)
tree768e40da2d35d1be9dac0ec3915da4d018d5bfe3 /apps/onplay.c
parentf0d97ea92df70425c5cb385c2bb69013f5538abd (diff)
downloadrockbox-c2e86cd0d919a5ec93014359ebf1340593fdc84a.tar.gz
rockbox-c2e86cd0d919a5ec93014359ebf1340593fdc84a.zip
Patch FS#4759 by Jonathan Gordon - searching in playlists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8906 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 88607f7754..be11b9a2da 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -243,8 +243,8 @@ static bool view_playlist(void)
243/* Sub-menu for playlist options */ 243/* Sub-menu for playlist options */
244static bool playlist_options(void) 244static bool playlist_options(void)
245{ 245{
246 struct menu_item items[12]; 246 struct menu_item items[13];
247 struct playlist_args args[12]; /* increase these 2 if you add entries! */ 247 struct playlist_args args[13]; /* increase these 2 if you add entries! */
248 int m, i=0, pstart=0, result; 248 int m, i=0, pstart=0, result;
249 bool ret = false; 249 bool ret = false;
250 250
@@ -265,6 +265,11 @@ static bool playlist_options(void)
265 i++; 265 i++;
266 pstart++; 266 pstart++;
267 267
268 items[i].desc = ID2P(LANG_SEARCH_IN_PLAYLIST);
269 items[i].function = search_playlist;
270 i++;
271 pstart++;
272
268 items[i].desc = ID2P(LANG_SAVE_DYNAMIC_PLAYLIST); 273 items[i].desc = ID2P(LANG_SAVE_DYNAMIC_PLAYLIST);
269 items[i].function = save_playlist; 274 items[i].function = save_playlist;
270 i++; 275 i++;