summaryrefslogtreecommitdiffstats
path: root/apps/menus/theme_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus/theme_menu.c')
-rw-r--r--apps/menus/theme_menu.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/menus/theme_menu.c b/apps/menus/theme_menu.c
index 60a2a27ef4..1b501452d0 100644
--- a/apps/menus/theme_menu.c
+++ b/apps/menus/theme_menu.c
@@ -249,9 +249,12 @@ int browse_folder(void *param)
char selected[MAX_FILENAME+10];
const struct browse_folder_info *info =
(const struct browse_folder_info*)param;
- struct browse_context browse;
- browse_context_init(&browse, info->show_options, 0,
- NULL, NOICON, info->dir, NULL);
+
+ struct browse_context browse = {
+ .dirfilter = info->show_options,
+ .icon = Icon_NOICON,
+ .root = info->dir,
+ };
/* if we are in a special settings folder, center the current setting */
switch(info->show_options)