diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index c54d9bce6f..1d129970e0 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -59,11 +59,9 @@ static bool list_viewers(void) | |||
59 | { | 59 | { |
60 | m = menu_init( menu, i, NULL, NULL, NULL, NULL ); | 60 | m = menu_init( menu, i, NULL, NULL, NULL, NULL ); |
61 | result = menu_show(m); | 61 | result = menu_show(m); |
62 | menu_exit(m); | ||
62 | if (result >= 0) | 63 | if (result >= 0) |
63 | { | ||
64 | menu_exit(m); | ||
65 | filetype_load_plugin(menu[result].desc,selected_file); | 64 | filetype_load_plugin(menu[result].desc,selected_file); |
66 | } | ||
67 | } | 65 | } |
68 | else | 66 | else |
69 | { | 67 | { |