diff options
author | Mattias Andrée <maandree@kth.se> | 2016-12-04 22:16:29 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-12-04 22:16:29 +0100 |
commit | 7308d7af2f4929b8cd7737a0fca95a863726657b (patch) | |
tree | 8e6f25ee5fb18a236099790951edfa8b08857f19 /src/libclut.c | |
parent | update news (diff) | |
download | libclut-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.c | 2 |
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)) |