13
0

hide a lot of color debugging noise

This commit is contained in:
Paul Davis 2014-12-12 13:26:17 -05:00
parent cb13fe578f
commit e19e05fc59

View File

@ -655,7 +655,12 @@ UIConfiguration::color (const std::string& name, bool* failed) const
}
}
cerr << string_compose (_("Color %1 not found"), name) << endl;
if (!failed) {
/* only show this message if the caller wasn't interested in
the fail status.
*/
cerr << string_compose (_("Color %1 not found"), name) << endl;
}
if (failed) {
*failed = true;