diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index 86238c50d9..98880f001a 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -261,8 +261,7 @@ static int tree_voice_cb(int selected_item, void * data) bool check_rockboxdir(void) { - char path[MAX_PATH]; - if(!dir_exists(get_user_file_path(ROCKBOX_DIR, 0, path, sizeof(path)))) + if(!dir_exists(ROCKBOX_DIR)) { /* No need to localise this message. If .rockbox is missing, it wouldn't work anyway */ int i; |