diff options
Diffstat (limited to '')
-rw-r--r-- | src/libcolour.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcolour.c b/src/libcolour.c index 69014d3..867e280 100644 --- a/src/libcolour.c +++ b/src/libcolour.c @@ -44,7 +44,7 @@ double libcolour_srgb_decode(double t) t = -t; sign = -1; } - t = t <= 0.040448236277380506 ? t / 12.92 : pow((t + 0.055) / 1.055, 2.4); + t = t <= 0.0031306684425217108 * 12.92 ? t / 12.92 : pow((t + 0.055) / 1.055, 2.4); return t * sign; } |