From 5edf870c138a93114b51bf62cff741182aed8d2e Mon Sep 17 00:00:00 2001 From: kaesa Date: Thu, 13 Feb 2025 10:51:19 +0200 Subject: [PATCH] Fix for DCPProfile constructor not respecting verbose on all printf occurrences. --- rtengine/dcp.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rtengine/dcp.cc b/rtengine/dcp.cc index c6eab3b2a..989afadb3 100644 --- a/rtengine/dcp.cc +++ b/rtengine/dcp.cc @@ -1131,13 +1131,17 @@ DCPProfile::DCPProfile(const Glib::ustring& filename) : }); if (file == nullptr) { - printf ("Unable to load DCP profile '%s' !", filename.c_str()); + if (settings->verbose) { + printf ("Unable to load DCP profile '%s' !", filename.c_str()); + } return; } DCPMetadata md(file.get()); if (!md.parse()) { - printf ("Unable to load DCP profile '%s'.", filename.c_str()); + if (settings->verbose) { + printf ("Unable to load DCP profile '%s'.", filename.c_str()); + } return; }