aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePrint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabasePrint.cxx')
-rw-r--r--src/DatabasePrint.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DatabasePrint.cxx b/src/DatabasePrint.cxx
index 223a6b873..514cf3f7b 100644
--- a/src/DatabasePrint.cxx
+++ b/src/DatabasePrint.cxx
@@ -70,7 +70,7 @@ PrintSongBrief(Client &client, const Song &song)
{
song_print_uri(client, song);
- if (song.tag != nullptr && song.tag->has_playlist)
+ if (song.tag.has_playlist)
/* this song file has an embedded CUE sheet */
print_playlist_in_directory(client, song.parent, song.uri);
@@ -82,7 +82,7 @@ PrintSongFull(Client &client, const Song &song)
{
song_print_info(client, song);
- if (song.tag != nullptr && song.tag->has_playlist)
+ if (song.tag.has_playlist)
/* this song file has an embedded CUE sheet */
print_playlist_in_directory(client, song.parent, song.uri);