diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-02 12:10:37 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-02 12:10:37 +0000 |
| commit | a92d3169724cef786d3fda92de8858c6128990f8 (patch) | |
| tree | f9eadf79d95960adb08e727107f9e48f892d6929 /apps/plugins | |
| parent | 2e1988b263428d998cde8671eadce92de3f95188 (diff) | |
| download | rockbox-a92d3169724cef786d3fda92de8858c6128990f8.zip rockbox-a92d3169724cef786d3fda92de8858c6128990f8.tar.gz rockbox-a92d3169724cef786d3fda92de8858c6128990f8.tar.bz2 rockbox-a92d3169724cef786d3fda92de8858c6128990f8.tar.xz | |
fix test_codec broken after r27968
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27985 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/test_codec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 94c510a..0c2e694 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -902,7 +902,8 @@ show_menu: if (dir) { entry = rb->readdir(dir); while (entry) { - if (!(entry->attribute & ATTR_DIRECTORY)) { + struct dirinfo info = rb->dir_get_info(dir, entry); + if (!(info.attribute & ATTR_DIRECTORY)) { rb->snprintf(filename,sizeof(filename),"%s%s",dirpath,entry->d_name); test_track(filename); log_text("", true); |