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:
committed by
Michael Natterer
parent
bff447f05a
commit
b7dbaacc1f
@ -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.
|
||||
|
||||
@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user