s/INTENSITY/GIMP_RGB_INTENSITY/, removed trailing whitespace.

2003-11-17  Michael Natterer  <mitch@gimp.org>

	* modules/colorsel_triangle.c (colorsel_triangle_update_previews):
	s/INTENSITY/GIMP_RGB_INTENSITY/, removed trailing whitespace.
This commit is contained in:
Michael Natterer
2003-11-17 16:37:56 +00:00
committed by Michael Natterer
parent e4c5b6b0ca
commit 2b230b9693
2 changed files with 22 additions and 17 deletions

View File

@ -1,3 +1,8 @@
2003-11-17 Michael Natterer <mitch@gimp.org>
* modules/colorsel_triangle.c (colorsel_triangle_update_previews):
s/INTENSITY/GIMP_RGB_INTENSITY/, removed trailing whitespace.
2003-11-17 Sven Neumann <sven@gimp.org>
* libgimpcolor/gimprgb.[ch]: added a GIMP_RGB prefix to the

View File

@ -339,7 +339,7 @@ colorsel_triangle_update_previews (ColorselTriangle *triangle,
atn = atn + 2 * G_PI;
gimp_hsv_to_rgb4 (buf, atn / (2 * G_PI), 1, 1);
col = INTENSITY (buf[0], buf[1], buf[2]) > 127 ? 0 : 255;
col = GIMP_RGB_INTENSITY (buf[0], buf[1], buf[2]) > 127 ? 0 : 255;
for (y = y0 - 4 ; y <= y0 + 4 ; y++)
{