diff options
Diffstat (limited to 'common/playlist.c')
-rw-r--r-- | common/playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/playlist.c b/common/playlist.c index e79a96b402..c1636bc695 100644 --- a/common/playlist.c +++ b/common/playlist.c @@ -221,7 +221,7 @@ struct playlist_entry *playlist_get_first_in_next_playlist(struct playlist *pl, if (!entry) return NULL; - while (entry && entry->playlist_path && + while (entry && entry->playlist_path && pl->current->playlist_path && strcmp(entry->playlist_path, pl->current->playlist_path) == 0) entry = playlist_entry_get_rel(entry, direction); |