diff --git a/ChangeLog b/ChangeLog index e89e057008..66e2516146 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-12-21 Michael Natterer + + * 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 * NEWS: Updated NEWS. diff --git a/app/core/gimpdrawable-stroke.c b/app/core/gimpdrawable-stroke.c index 9aa40bd2bc..22ed85f617 100644 --- a/app/core/gimpdrawable-stroke.c +++ b/app/core/gimpdrawable-stroke.c @@ -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++;