diff options
Diffstat (limited to '')
-rw-r--r-- | src/libcolour.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcolour.c b/src/libcolour.c index 57f1e80..69014d3 100644 --- a/src/libcolour.c +++ b/src/libcolour.c @@ -121,6 +121,8 @@ int libcolour_proper(libcolour_colour_t* colour) break; case LIBCOLOUR_CIELCHUV: colour->cielchuv.white.model = LIBCOLOUR_CIEXYZ; + if (colour->cielchuv.one_revolution == 0.) + colour->cielchuv.one_revolution = 360.; break; case LIBCOLOUR_RGB: colour->rgb.red.model = LIBCOLOUR_CIEXYY; |