Bug 751553 - Linear precision doesn't display the image correctly

Fix copy/paste bug in gimp_color_profile_get_rgb_matrix_colorants()
which returned a broken XYZ triple for the blue component. Spotted by
Massimo.
This commit is contained in:
Michael Natterer 2015-10-21 20:25:06 +02:00
parent b9305c7e67
commit e2f3a05d44

View file

@ -693,8 +693,8 @@ gimp_color_profile_get_rgb_matrix_colorants (GimpColorProfile *profile,
matrix->coeff[1][2] = green->Z;
matrix->coeff[2][0] = blue->X;
matrix->coeff[2][1] = blue->X;
matrix->coeff[2][2] = blue->X;
matrix->coeff[2][1] = blue->Y;
matrix->coeff[2][2] = blue->Z;
}
return TRUE;