diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 4 |
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(); |