diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2014-08-27 05:25:53 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2014-08-27 05:25:53 +0200 |
commit | 59430f640b460442d4600b04e007667c40ca222c (patch) | |
tree | 8ea2ffd8f91b84ac1b108538cfcd9230c44642b3 /src/helpers.cpp | |
parent | 8d1b10fb3eb480e4b556f5d1a0a94886b17da994 (diff) |
statusbar: use boost::format instead of c-style printf
Diffstat (limited to 'src/helpers.cpp')
-rw-r--r-- | src/helpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers.cpp b/src/helpers.cpp index 93522b2a..5ea23e69 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -52,8 +52,8 @@ bool addSongToPlaylist(const MPD::Song &s, bool play, int position) int id = Mpd.AddSong(s, position); if (id >= 0) { - Statusbar::msg("Added to playlist: %s", - s.toString(Config.song_status_format_no_colors, Config.tags_separator).c_str() + Statusbar::printf("Added to playlist: %s", + s.toString(Config.song_status_format_no_colors, Config.tags_separator) ); if (play) Mpd.PlayID(id); |