"rgb" and "hsv" parameters were swapped in the header. All users however

2002-11-01  Michael Natterer  <mitch@gimp.org>

	* libgimpcolor/gimpcolorspace.h (gimp_rgb_to_hsv4): "rgb" and
	"hsv" parameters were swapped in the header. All users however
	used the function as implemented, not as documented.
This commit is contained in:
Michael Natterer 2002-11-01 11:30:58 +00:00 committed by Michael Natterer
parent fdd1f1c7d1
commit 36a2e0848b
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2002-11-01 Michael Natterer <mitch@gimp.org>
* libgimpcolor/gimpcolorspace.h (gimp_rgb_to_hsv4): "rgb" and
"hsv" parameters were swapped in the header. All users however
used the function as implemented, not as documented.
2002-11-01 Sven Neumann <sven@gimp.org>
* configure.in: bumped version number to 1.3.10.

View File

@ -85,10 +85,10 @@ void gimp_hsv_to_rgb_double (gdouble *hue /* returns red */,
gdouble *saturation, /* returns green */
gdouble *value /* returns blue */);
void gimp_rgb_to_hsv4 (guchar *hsv,
gdouble *red,
gdouble *green,
gdouble *blue);
void gimp_rgb_to_hsv4 (guchar *rgb,
gdouble *hue,
gdouble *saturation,
gdouble *value);
void gimp_hsv_to_rgb4 (guchar *rgb,
gdouble hue,
gdouble saturation,