From: johanengelen Date: Sat, 14 Jun 2008 16:09:13 +0000 (+0000) Subject: fix typo in feed_path_to_cairo, potential bug X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5ced6b9e1b849d560694afd775815db149ab37f1;p=inkscape.git fix typo in feed_path_to_cairo, potential bug --- diff --git a/src/display/inkscape-cairo.cpp b/src/display/inkscape-cairo.cpp index 027a89e82..f97129031 100644 --- a/src/display/inkscape-cairo.cpp +++ b/src/display/inkscape-cairo.cpp @@ -223,7 +223,7 @@ feed_path_to_cairo (cairo_t *ct, Geom::Path const &path, Geom::Matrix trans, NR: feed_curve_to_cairo(ct, *cit, to_2geom(view), optimize_stroke); } - if (path.closed()) { + if (path_trans.closed()) { cairo_line_to(ct, path_trans.initialPoint()[0], path_trans.initialPoint()[1] ); } }