mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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;
|
is_resumable = false;
|
||||||
|
|
||||||
if (id3->path)
|
if (*id3->path)
|
||||||
{
|
{
|
||||||
for (path = global_settings.autoresume_paths;
|
for (path = global_settings.autoresume_paths;
|
||||||
*path; /* search terms left? */
|
*path; /* search terms left? */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue