diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-07-21 10:45:51 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-07-21 15:06:28 +0000 |
commit | f0e3a36fe4b06627d2c7293f42ede38944ff162c (patch) | |
tree | a2f0a2fe78c7ee9dfa47f59cfd5500bfdc8ad85d | |
parent | 8cd4b8da846526a5ea30270eac7863ba38b8ebe1 (diff) | |
download | rockbox-f0e3a36fe4.tar.gz rockbox-f0e3a36fe4.zip |
autoresume: Properly check the path string, not the pointer.
(the pointer is _always_ valid as it's to a fixed buffer)
Change-Id: I88489012b76ed3b5b214cf01da1a6260e259fe87
-rw-r--r-- | apps/playback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index c60468a7dd..ef4b38da51 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -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? */ |