From: mental Date: Tue, 5 Sep 2006 01:58:32 +0000 (+0000) Subject: comments for later X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=218f6e89ede01effacc995e2858a13b87a3f4010;p=inkscape.git comments for later --- diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index 34f84bb88..5b6b75fa5 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -830,7 +830,8 @@ fit_and_split(SPDynaDrawContext *dc, gboolean release) for (NR::Point *bp2 = b2 + BEZIER_SIZE * ( nb2 - 1 ); bp2 >= b2; bp2 -= BEZIER_SIZE) { sp_curve_curveto(dc->currentcurve, bp2[2], bp2[1], bp2[0]); } - if (!dc->segments) { + // FIXME: dc->segments is always NULL at this point?? + if (!dc->segments) { // first segment add_cap(dc->currentcurve, b2[1], b2[0], b1[0], b1[1], dc->cap_rounding); } sp_curve_closepath(dc->currentcurve);