actually increment the coord index when iterating the coords array. Fixes

2003-05-15  Michael Natterer  <mitch@gimp.org>

	* app/vectors/gimpbezierstroke.c
	(gimp_bezier_stroke_new_from_coords): actually increment the coord
	index when iterating the coords array. Fixes bug #113049.
This commit is contained in:
Michael Natterer 2003-05-15 12:28:57 +00:00 committed by Michael Natterer
parent db9569cb7c
commit c1eddd4fbc
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-05-15 Michael Natterer <mitch@gimp.org>
* app/vectors/gimpbezierstroke.c
(gimp_bezier_stroke_new_from_coords): actually increment the coord
index when iterating the coords array. Fixes bug #113049.
2003-05-14 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/blur.c (blur): Ported a change from STABLE

View File

@ -210,7 +210,7 @@ gimp_bezier_stroke_new_from_coords (const GimpCoords *coords,
while (count < ncoords)
{
last_anchor = gimp_bezier_stroke_extend (bezier_stroke,
&(coords[count]),
&coords[count++],
last_anchor,
EXTEND_SIMPLE);
}