Commit f32424aa authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

removed calls to ROUND() in two places where they should not have been

2003-06-21  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.c (gimp_hsv_to_rgb_int): removed
	calls to ROUND() in two places where they should not have been
	added. Fixes bug #115626.
parent 86c1870f
2003-06-21 Sven Neumann <sven@gimp.org>
* libgimpcolor/gimpcolorspace.c (gimp_hsv_to_rgb_int): removed
calls to ROUND() in two places where they should not have been
added. Fixes bug #115626.
2003-06-20 Dave Neary <bolsh@gimp.org>
 
* app/config/gimpdisplayconfig.c: Enable menus on
......@@ -446,12 +446,12 @@ gimp_hsv_to_rgb_int (gint *hue,
s = *saturation / 255.0;
v = *value / 255.0;
f = h - ROUND (h);
f = h - (gint) h;
p = v * (1.0 - s);
q = v * (1.0 - (s * f));
t = v * (1.0 - (s * (1.0 - f)));
switch (ROUND (h))
switch ((gint) h)
{
case 0:
*hue = ROUND (v * 255.0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment