Commit 349289dc authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

no need to assign "d = buf" twice.

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

	* libgimpwidgets/gimpcolorscale.c (gimp_color_scale_render): no
	need to assign "d = buf" twice.
parent 4d44cc48
2002-11-01 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpcolorscale.c (gimp_color_scale_render): no
need to assign "d = buf" twice.
2002-11-01 Sven Neumann <sven@gimp.org>
* themes/Default/images/stock-reset-16.png: finally a Reset icon
......
......@@ -481,8 +481,6 @@ gimp_color_scale_render (GimpColorScale *scale)
switch (range->orientation)
{
case GTK_ORIENTATION_HORIZONTAL:
d = buf;
for (x = 0, d = buf; x < scale->width; x++, d += 3)
{
gdouble value = (gdouble) x / (gdouble) (scale->width - 1);
......
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