statusbar: use boost::format instead of c-style printf
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user