1
0
Fork 0
forked from len0rd/rockbox

consolidate the 3 file_exists() functions into one; use the version that explicitly uses dircache; give dir_exists() the same treatment for consistency

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15742 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Kukla 2007-11-21 21:28:27 +00:00
parent a2ad8537af
commit d87b037efe
10 changed files with 50 additions and 65 deletions

View file

@ -166,10 +166,10 @@ bool goto_entry(char *file_or_dir)
char *what;
if (is_dir) {
what = "Directory";
exists = dir_exists(file_or_dir);
exists = rb->dir_exists(file_or_dir);
} else {
what = "File";
exists = file_exists(file_or_dir);
exists = rb->file_exists(file_or_dir);
}
if (!exists) {