From 5ced6b9e1b849d560694afd775815db149ab37f1 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sat, 14 Jun 2008 16:09:13 +0000 Subject: [PATCH] fix typo in feed_path_to_cairo, potential bug --- src/display/inkscape-cairo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] ); } } -- 2.30.2