libgimpwidgets: formatting cleanup in gimp_widget_get_color_transform()
This commit is contained in:
@ -518,9 +518,7 @@ gimp_widget_get_color_transform (GtkWidget *widget,
|
|||||||
|
|
||||||
if (proof_profile)
|
if (proof_profile)
|
||||||
{
|
{
|
||||||
cmsUInt32Number softproof_flags = 0;
|
cmsUInt32Number softproof_flags = cmsFLAGS_SOFTPROOFING;
|
||||||
|
|
||||||
softproof_flags |= cmsFLAGS_SOFTPROOFING;
|
|
||||||
|
|
||||||
if (config->simulation_use_black_point_compensation)
|
if (config->simulation_use_black_point_compensation)
|
||||||
{
|
{
|
||||||
@ -542,8 +540,7 @@ gimp_widget_get_color_transform (GtkWidget *widget,
|
|||||||
cmsSetAlarmCodes (alarmCodes);
|
cmsSetAlarmCodes (alarmCodes);
|
||||||
}
|
}
|
||||||
|
|
||||||
transform =
|
transform = cmsCreateProofingTransform (src_profile, lcms_src_format,
|
||||||
cmsCreateProofingTransform (src_profile, lcms_src_format,
|
|
||||||
dest_profile, lcms_dest_format,
|
dest_profile, lcms_dest_format,
|
||||||
proof_profile,
|
proof_profile,
|
||||||
config->simulation_intent,
|
config->simulation_intent,
|
||||||
@ -561,8 +558,7 @@ gimp_widget_get_color_transform (GtkWidget *widget,
|
|||||||
display_flags |= cmsFLAGS_BLACKPOINTCOMPENSATION;
|
display_flags |= cmsFLAGS_BLACKPOINTCOMPENSATION;
|
||||||
}
|
}
|
||||||
|
|
||||||
transform =
|
transform = cmsCreateTransform (src_profile, lcms_src_format,
|
||||||
cmsCreateTransform (src_profile, lcms_src_format,
|
|
||||||
dest_profile, lcms_dest_format,
|
dest_profile, lcms_dest_format,
|
||||||
config->display_intent,
|
config->display_intent,
|
||||||
display_flags);
|
display_flags);
|
||||||
|
Reference in New Issue
Block a user