summaryrefslogtreecommitdiff
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)
249 char selected[MAX_FILENAME+10]; 249 char selected[MAX_FILENAME+10];
250 const struct browse_folder_info *info = 250 const struct browse_folder_info *info =
251 (const struct browse_folder_info*)param; 251 (const struct browse_folder_info*)param;
252 struct browse_context browse; 252
253 browse_context_init(&browse, info->show_options, 0, 253 struct browse_context browse = {
254 NULL, NOICON, info->dir, NULL); 254 .dirfilter = info->show_options,
255 .icon = Icon_NOICON,
256 .root = info->dir,
257 };
255 258
256 /* if we are in a special settings folder, center the current setting */ 259 /* if we are in a special settings folder, center the current setting */
257 switch(info->show_options) 260 switch(info->show_options)