diff --git a/src/libImaging/Convert.c b/src/libImaging/Convert.c index 3e78b0aa1ef..25a7f278220 100644 --- a/src/libImaging/Convert.c +++ b/src/libImaging/Convert.c @@ -364,7 +364,8 @@ rgb2hsv(UINT8 *out, const UINT8 *in, int xsize) { } static void -hsv2rgb(UINT8 *out, const UINT8 *in, int xsize) { // following colorsys.py +hsv2rgb(UINT8 *out, const UINT8 *in, int xsize) { + // based on Python's colorsys module int p, q, t; UINT8 up, uq, ut;