summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ui_config.cc')
-rw-r--r--gtk2_ardour/ui_config.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/ui_config.cc b/gtk2_ardour/ui_config.cc
index 22ac72d240..b09442a588 100644
--- a/gtk2_ardour/ui_config.cc
+++ b/gtk2_ardour/ui_config.cc
@@ -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;