aboutsummaryrefslogtreecommitdiffstats
path: root/src/libclut.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-04 22:16:29 +0100
committerMattias Andrée <maandree@kth.se>2016-12-04 22:16:29 +0100
commit7308d7af2f4929b8cd7737a0fca95a863726657b (patch)
tree8e6f25ee5fb18a236099790951edfa8b08857f19 /src/libclut.c
parentupdate news (diff)
downloadlibclut-7308d7af2f4929b8cd7737a0fca95a863726657b.tar.gz
libclut-7308d7af2f4929b8cd7737a0fca95a863726657b.tar.bz2
libclut-7308d7af2f4929b8cd7737a0fca95a863726657b.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/libclut.c')
-rw-r--r--src/libclut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libclut.c b/src/libclut.c
index 52c9615..934ed88 100644
--- a/src/libclut.c
+++ b/src/libclut.c
@@ -609,7 +609,7 @@ static int get_conversion_matrix(const libclut_rgb_colour_space_t* cs, libclut_c
{
#define XYY_TO_XYZ(x, y, Y, Xp, Yp, Zp) \
(libclut_0__(Y)) ? \
- (*(Xp) = *(Zp) = 0, *(Yp) = (Y)) : \
+ (*(Xp) = *(Zp) = *(Yp) = (Y)) : \
(*(Xp) = (x) * (Y) / (y), \
*(Yp) = (Y), \
*(Zp) = (1 - (x) - (y)) * (Y) / (y))