autoresume: Properly check the path string, not the pointer.
(the pointer is _always_ valid as it's to a fixed buffer) Change-Id: I88489012b76ed3b5b214cf01da1a6260e259fe87
This commit is contained in:
parent
8cd4b8da84
commit
f0e3a36fe4
1 changed files with 1 additions and 1 deletions
|
@ -1490,7 +1490,7 @@ static bool autoresumable(struct mp3entry *id3)
|
|||
|
||||
is_resumable = false;
|
||||
|
||||
if (id3->path)
|
||||
if (*id3->path)
|
||||
{
|
||||
for (path = global_settings.autoresume_paths;
|
||||
*path; /* search terms left? */
|
||||
|
|
Loading…
Reference in a new issue