From 23c3d467b4ca19239ac68e060c51f0d1403f3c5e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 9 Jul 2015 21:40:47 +0200 Subject: move verbose output into conditional output --- mpd-notification.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mpd-notification.c b/mpd-notification.c index 0ef50ad..d064700 100644 --- a/mpd-notification.c +++ b/mpd-notification.c @@ -330,10 +330,10 @@ int main(int argc, char ** argv) { if (pixbuf == NULL) #endif icon = get_icon(music_dir, uri); - } - if (verbose > 0 && icon != NULL) - printf("%s: found icon: %s\n", program, icon); + if (verbose > 0 && icon != NULL) + printf("%s: found icon: %s\n", program, icon); + } mpd_song_free(song); } else if (state == MPD_STATE_PAUSE) -- cgit v1.2.3-70-g09d2