From bff0fa58a53648602663ee3238573642b7ae927d Mon Sep 17 00:00:00 2001 From: ffsup2 Date: Wed, 5 Jan 2011 21:55:36 +0100 Subject: [PATCH] Other printf under if --- rtengine/hlmultipliers.cc | 9 ++++++--- rtengine/hlrecovery.cc | 4 ++-- rtengine/iccstore.cc | 4 +++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/rtengine/hlmultipliers.cc b/rtengine/hlmultipliers.cc index 5f3271baa..57a455d6c 100644 --- a/rtengine/hlmultipliers.cc +++ b/rtengine/hlmultipliers.cc @@ -20,6 +20,7 @@ #include #include #include +#include #define MAXVAL 0xffff #define CLIP(a) ((a)>0?((a) #include +#include namespace rtengine { @@ -186,7 +187,8 @@ std::vector ICCStore::parseDir (Glib::ustring pdir) { if (!Glib::file_test (fname, Glib::FILE_TEST_IS_DIR)) { int lastdot = sname.find_last_of ('.'); if (lastdot!=Glib::ustring::npos && lastdot<=(int)sname.size()-4 && (!sname.casefold().compare (lastdot, 4, ".icm") || !sname.casefold().compare (lastdot, 4, ".icc"))) { -// printf ("processing file %s...\n", fname.c_str()); + if( options.rtSettings.verbose ) + printf ("Processing ICC file: %s...\n", fname.c_str()); Glib::ustring name = sname.substr(0,lastdot); ProfileContent pc (fname); if (pc.data) {