Commit d0309947 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

look at the passed "ns" variable instead of at the global "num_segs" one

2005-08-20  Michael Natterer  <mitch@gimp.org>

	* app/base/boundary.c (sort_boundary): look at the passed "ns"
	variable instead of at the global "num_segs" one to figure if the
	passed array of BoundSegs is empty. Fixes bug #313922 at its root.
parent c9380729
2005-08-20 Michael Natterer <mitch@gimp.org>
* app/base/boundary.c (sort_boundary): look at the passed "ns"
variable instead of at the global "num_segs" one to figure if the
passed array of BoundSegs is empty. Fixes bug #313922 at its root.
2005-08-19 Akkana Peck <akkana@cvs.gnome.org>
* app/tools/gimpdrawtool.c: Fix the parameter check at the
......
......@@ -494,7 +494,7 @@ sort_boundary (const BoundSeg *segs,
gint index;
gint x, y;
gint startx, starty;
gboolean empty = (num_segs == 0);
gboolean empty = (ns == 0);
BoundSeg *new_segs;
index = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment