From 2c2416094f426972c9e2e96d25058311bbe82f97 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 6 Dec 2010 22:26:31 +0000 Subject: Get rid of get_user_file_path and do the path handling in wrappers for open() and friends. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28752 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/theme_menu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apps/menus') diff --git a/apps/menus/theme_menu.c b/apps/menus/theme_menu.c index 66274e2e18..983eca9445 100644 --- a/apps/menus/theme_menu.c +++ b/apps/menus/theme_menu.c @@ -246,11 +246,9 @@ static struct browse_folder_info themes = {THEME_DIR, SHOW_CFG}; int browse_folder(void *param) { - char path[MAX_PATH]; const struct browse_folder_info *info = (const struct browse_folder_info*)param; - return rockbox_browse(get_user_file_path(info->dir, 0, path, sizeof(path)), - info->show_options); + return rockbox_browse(info->dir, info->show_options); } #ifdef HAVE_LCD_BITMAP -- cgit v1.2.3