mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
4d44cc4851
commit
349289dc9c
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue