aboutsummaryrefslogtreecommitdiffstats
path: root/src/libclut.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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))