don't use // for comments.

2008-09-06  Michael Natterer  <mitch@gimp.org>

	* app/gegl/gimpoperationhuesaturation.c
	(gimp_operation_hue_saturation_process): don't use // for comments.


svn path=/trunk/; revision=26885
This commit is contained in:
Michael Natterer 2008-09-06 11:26:21 +00:00 committed by Michael Natterer
parent cc90920d69
commit 0d64c0d4e8
2 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2008-09-06 Michael Natterer <mitch@gimp.org>
* app/gegl/gimpoperationhuesaturation.c
(gimp_operation_hue_saturation_process): don't use // for comments.
2008-09-06 Martin Nordholts <martinn@svn.gnome.org>
* app/gegl/gimpoperationhuesaturation.c

View File

@ -211,11 +211,12 @@ gimp_operation_hue_saturation_process (GeglOperation *operation,
gdouble mapped_secondary_hue;
gdouble diff;
mapped_primary_hue = map_hue (config, hue, hsl.h);
mapped_primary_hue = map_hue (config, hue, hsl.h);
mapped_secondary_hue = map_hue (config, secondary_hue, hsl.h);
// Find nearest hue on the circle between primary and
// secondary hue
/* Find nearest hue on the circle between primary and
* secondary hue
*/
diff = mapped_primary_hue - mapped_secondary_hue;
if (diff < -0.5)
{
@ -226,14 +227,14 @@ gimp_operation_hue_saturation_process (GeglOperation *operation,
mapped_secondary_hue += 1.0;
}
hsl.h = mapped_primary_hue * primary_intensity +
mapped_secondary_hue * secondary_intensity;
hsl.h = (mapped_primary_hue * primary_intensity +
mapped_secondary_hue * secondary_intensity);
hsl.s = map_saturation (config, hue, hsl.s) * primary_intensity +
map_saturation (config, secondary_hue, hsl.s) * secondary_intensity;
hsl.s = (map_saturation (config, hue, hsl.s) * primary_intensity +
map_saturation (config, secondary_hue, hsl.s) * secondary_intensity);
hsl.l = map_lightness (config, hue, hsl.l) * primary_intensity +
map_lightness (config, secondary_hue, hsl.l) * secondary_intensity;
hsl.l = (map_lightness (config, hue, hsl.l) * primary_intensity +
map_lightness (config, secondary_hue, hsl.l) * secondary_intensity);
}
else
{