From e9e6804074803acf5105679f2441cd5cd558959b Mon Sep 17 00:00:00 2001 From: Desmis Date: Mon, 16 Apr 2018 08:47:34 +0200 Subject: [PATCH] best display Tag 'desc' --- rtengine/iccstore.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/iccstore.cc b/rtengine/iccstore.cc index e6445d387..9883ad1bb 100644 --- a/rtengine/iccstore.cc +++ b/rtengine/iccstore.cc @@ -1548,7 +1548,7 @@ cmsHPROFILE rtengine::ICCStore::createCustomGammaOutputProfile(const procparams: if (icm.gamma == "Free") { if (icm.wprofile == "v4") { outPro = outPr + "_V4_" + std::to_string((float)icm.gampos) + " " + std::to_string((float)icm.slpos) + ".icc"; - } else if (icm.wprofile == "v2") { + } else if (icm.wprofile == "v2" || icm.wprofile == "none" ) { outPro = outPr + "_V2_" + std::to_string((float)icm.gampos) + " " + std::to_string((float)icm.slpos) + ".icc"; } @@ -1563,7 +1563,7 @@ cmsHPROFILE rtengine::ICCStore::createCustomGammaOutputProfile(const procparams: if (icm.wprofile == "v4") { outPro = outPr + "_V4_" + gammaStr + ".icc"; - } else if (icm.wprofile == "v2") { + } else if (icm.wprofile == "v2" || icm.wprofile == "none" ) { outPro = outPr + "_V2_" + gammaStr + ".icc"; }