mirror of https://github.com/GNOME/gimp.git
Fixed stupid bug (for getting the bounding box you also have to use
2003-09-16 Simon Budig <simon@gimp.org> * app/vectors/gimpvectors.[ch]: Fixed stupid bug (for getting the bounding box you also have to use MAX...).
This commit is contained in:
parent
d620e7993d
commit
ba69b4bd96
|
@ -1,3 +1,8 @@
|
|||
2003-09-16 Simon Budig <simon@gimp.org>
|
||||
|
||||
* app/vectors/gimpvectors.[ch]: Fixed stupid bug (for getting
|
||||
the bounding box you also have to use MAX...).
|
||||
|
||||
2003-09-16 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpchannel.c (gimp_channel_translate): transform the
|
||||
|
|
|
@ -946,8 +946,8 @@ gimp_vectors_bounds (const GimpVectors *vectors,
|
|||
point = g_array_index (stroke_coords, GimpCoords, i);
|
||||
*x1 = MIN (*x1, point.x);
|
||||
*y1 = MIN (*y1, point.y);
|
||||
*x2 = MIN (*x2, point.x);
|
||||
*y2 = MIN (*y2, point.y);
|
||||
*x2 = MAX (*x2, point.x);
|
||||
*y2 = MAX (*y2, point.y);
|
||||
}
|
||||
g_array_free (stroke_coords, TRUE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue