Code

fix typo in feed_path_to_cairo, potential bug
authorjohanengelen <johanengelen@users.sourceforge.net>
Sat, 14 Jun 2008 16:09:13 +0000 (16:09 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sat, 14 Jun 2008 16:09:13 +0000 (16:09 +0000)
src/display/inkscape-cairo.cpp

index 027a89e828e0c326eade6a4aa177a9690a09bd79..f97129031d8d4d81d2680eb56820d2d66bb57e90 100644 (file)
@@ -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] );
     }
 }