diff options
author | Robert Kukla <roolku@rockbox.org> | 2007-11-21 21:28:27 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2007-11-21 21:28:27 +0000 |
commit | d87b037efe7d001902c0cde992e1633ff9f70061 (patch) | |
tree | ddea298e51d73443aad0d31fca7d59311444efab /apps/plugins/shortcuts/shortcuts_view.c | |
parent | a2ad8537af659972b2e859c99c0ff75e374b73f9 (diff) | |
download | rockbox-d87b037efe7d001902c0cde992e1633ff9f70061.tar.gz rockbox-d87b037efe7d001902c0cde992e1633ff9f70061.zip |
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
Diffstat (limited to 'apps/plugins/shortcuts/shortcuts_view.c')
-rw-r--r-- | apps/plugins/shortcuts/shortcuts_view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/shortcuts/shortcuts_view.c b/apps/plugins/shortcuts/shortcuts_view.c index f61177f37a..4ef1bbc816 100644 --- a/apps/plugins/shortcuts/shortcuts_view.c +++ b/apps/plugins/shortcuts/shortcuts_view.c | |||
@@ -166,10 +166,10 @@ bool goto_entry(char *file_or_dir) | |||
166 | char *what; | 166 | char *what; |
167 | if (is_dir) { | 167 | if (is_dir) { |
168 | what = "Directory"; | 168 | what = "Directory"; |
169 | exists = dir_exists(file_or_dir); | 169 | exists = rb->dir_exists(file_or_dir); |
170 | } else { | 170 | } else { |
171 | what = "File"; | 171 | what = "File"; |
172 | exists = file_exists(file_or_dir); | 172 | exists = rb->file_exists(file_or_dir); |
173 | } | 173 | } |
174 | 174 | ||
175 | if (!exists) { | 175 | if (!exists) { |