From 06f898cc1240a29b293de0e97ad95a4fdc971254 Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@duempel.org> Date: Tue, 30 Jul 2013 20:11:57 +0200 Subject: tag: convert to C++ --- src/SongPrint.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SongPrint.cxx') diff --git a/src/SongPrint.cxx b/src/SongPrint.cxx index b6b66e1f6..65d27ca77 100644 --- a/src/SongPrint.cxx +++ b/src/SongPrint.cxx @@ -69,6 +69,6 @@ song_print_info(Client *client, Song *song) if (song->mtime > 0) time_print(client, "Last-Modified", song->mtime); - if (song->tag) - tag_print(client, song->tag); + if (song->tag != nullptr) + tag_print(client, *song->tag); } -- cgit v1.2.3