[gimp] Bug 751553 - Linear precision doesn't display the image correctly
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 751553 - Linear precision doesn't display the image correctly
- Date: Wed, 21 Oct 2015 18:26:25 +0000 (UTC)
commit e2f3a05d441d2d0aafce682744cc113a4182ef02
Author: Michael Natterer <mitch gimp org>
Date: Wed Oct 21 20:25:06 2015 +0200
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.
libgimpcolor/gimpcolorprofile.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpcolor/gimpcolorprofile.c b/libgimpcolor/gimpcolorprofile.c
index 819c43b..33b1152 100644
--- a/libgimpcolor/gimpcolorprofile.c
+++ b/libgimpcolor/gimpcolorprofile.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]