diff options
Diffstat (limited to 'apps/shortcuts.c')
-rw-r--r-- | apps/shortcuts.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c index 82e4a359bf..3f13d0c1b3 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c | |||
@@ -660,9 +660,11 @@ int do_shortcut_menu(void *ignored) | |||
660 | done = GO_TO_PLUGIN; | 660 | done = GO_TO_PLUGIN; |
661 | break; | 661 | break; |
662 | } | 662 | } |
663 | struct browse_context browse; | 663 | struct browse_context browse = { |
664 | browse_context_init(&browse, global_settings.dirfilter, 0, | 664 | .dirfilter = global_settings.dirfilter, |
665 | NULL, NOICON, sc->u.path, NULL); | 665 | .icon = Icon_NOICON, |
666 | .root = sc->u.path, | ||
667 | }; | ||
666 | if (sc->type == SHORTCUT_FILE) | 668 | if (sc->type == SHORTCUT_FILE) |
667 | browse.flags |= BROWSE_RUNFILE; | 669 | browse.flags |= BROWSE_RUNFILE; |
668 | done = rockbox_browse(&browse); | 670 | done = rockbox_browse(&browse); |