summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-12 10:20:33 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-12 10:20:33 +0000
commit10b92c44b3bac97e01be91409df6e7ccb94ea045 (patch)
tree4f98b439e02091abcfe5fe977f5179a9ac86e646 /apps/onplay.c
parent5c09ed38c6dc19fd03eb47971433993d7afd8605 (diff)
downloadrockbox-10b92c44b3bac97e01be91409df6e7ccb94ea045.tar.gz
rockbox-10b92c44b3bac97e01be91409df6e7ccb94ea045.zip
First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 52d5d20c6e..e4733fba53 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -193,7 +193,7 @@ static bool playlist_options(void)
193 i++; 193 i++;
194 } 194 }
195 195
196 m = menu_init( menu, i ); 196 m = menu_init( menu, i, NULL );
197 result = menu_show(m); 197 result = menu_show(m);
198 if (result >= 0 && result < pstart) 198 if (result >= 0 && result < pstart)
199 ret = menu[result].function(); 199 ret = menu[result].function();
@@ -580,7 +580,7 @@ int onplay(char* file, int attr)
580 i++; 580 i++;
581 581
582 /* DIY menu handling, since we want to exit after selection */ 582 /* DIY menu handling, since we want to exit after selection */
583 m = menu_init( menu, i ); 583 m = menu_init( menu, i, NULL );
584 result = menu_show(m); 584 result = menu_show(m);
585 if (result >= 0) 585 if (result >= 0)
586 menu[result].function(); 586 menu[result].function();