forked from len0rd/rockbox
disktidy: Fix deleting of directories specified by a pattern (FS#11827)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28900 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
992f897440
commit
1d460b603f
1 changed files with 2 additions and 2 deletions
|
@ -59,10 +59,10 @@ void add_item(const char* name, int index)
|
|||
}
|
||||
else
|
||||
entry->directory = false;
|
||||
a = rb->strchr(name, '*');
|
||||
a = rb->strchr(entry->filestring, '*');
|
||||
if (a)
|
||||
{
|
||||
entry->pre = a - name;
|
||||
entry->pre = a - entry->filestring;
|
||||
entry->post = rb->strlen(a+1);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue