Commit 23ff5cc2 authored by Mukund Sivaraman's avatar Mukund Sivaraman Committed by Mukund Sivaraman

Initialize spline.linearity before use.

2007-05-30  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/sel2path/fit.c: Initialize spline.linearity before use.


svn path=/trunk/; revision=22663
parent f136f007
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/sel2path/fit.c: Initialize spline.linearity before use.
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/sel2path/spline.c: Initialize spline.linearity before use.
......@@ -1321,6 +1321,7 @@ fit_one_spline (curve_type curve)
START_POINT (spline) = CURVE_POINT (curve, 0);
END_POINT (spline) = LAST_CURVE_POINT (curve);
SPLINE_LINEARITY (spline) = 0;
start_vector = make_vector (START_POINT (spline));
end_vector = make_vector (END_POINT (spline));
......
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