statusbar: use boost::format instead of c-style printf

This commit is contained in:
Andrzej Rybczak
2014-08-27 05:25:53 +02:00
parent 8d1b10fb3e
commit 59430f640b
23 changed files with 283 additions and 219 deletions

View File

@@ -73,12 +73,12 @@ void Outputs::enterPressed()
if (w.current().value().isEnabled())
{
Mpd.DisableOutput(w.choice());
Statusbar::msg("Output \"%s\" disabled", w.current().value().name().c_str());
Statusbar::printf("Output \"%s\" disabled", w.current().value().name());
}
else
{
Mpd.EnableOutput(w.choice());
Statusbar::msg("Output \"%s\" enabled", w.current().value().name().c_str());
Statusbar::printf("Output \"%s\" enabled", w.current().value().name());
}
}