fixed cut'n'paste bug: always use offset_x, not offset_y for x coordinates

2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
	fixed cut'n'paste bug: always use offset_x, not offset_y for x
	coordinates (spotted by Olivier Gondouin).
This commit is contained in:
Michael Natterer
2003-12-21 15:57:43 +00:00
committed by Michael Natterer
parent bff447f05a
commit b7dbaacc1f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-12-21 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
fixed cut'n'paste bug: always use offset_x, not offset_y for x
coordinates (spotted by Olivier Gondouin).
2003-12-21 Dave Neary <bolsh@gimp.org>
* NEWS: Updated NEWS.

View File

@ -99,7 +99,7 @@ gimp_drawable_stroke_boundary (GimpDrawable *drawable,
seg = 0;
n_points = 0;
points[n_points].x = (gdouble) (stroke_segs[0].x1 + offset_y);
points[n_points].x = (gdouble) (stroke_segs[0].x1 + offset_x);
points[n_points].y = (gdouble) (stroke_segs[0].y1 + offset_y);
n_points++;