[filescanner] Fix building directory structure with trailing '/' (second
attempt)
This commit is contained in:
parent
cbc3323111
commit
388c5f4311
|
@ -1092,7 +1092,7 @@ process_parent_directories(char *path)
|
|||
ptr = path + 1;
|
||||
while (ptr && (ptr = strchr(ptr, '/')))
|
||||
{
|
||||
if ((ptr - path) > 0)
|
||||
if (strlen(ptr) <= 1)
|
||||
{
|
||||
// Do not process trailing '/'
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue