From ec0ae472f3d3221081a1248d0a517c68a296f6f5 Mon Sep 17 00:00:00 2001 From: "Liam P. White" Date: Fri, 4 Mar 2016 10:33:09 -0500 Subject: Update 2geom copy to 143bbcf: Fix for multiple sequential closepath commands Fixed bugs: - https://launchpad.net/bugs/1492153 (bzr r14686) --- src/2geom/path-sink.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/2geom/path-sink.h b/src/2geom/path-sink.h index 17ede18a4..3bdb00783 100644 --- a/src/2geom/path-sink.h +++ b/src/2geom/path-sink.h @@ -179,8 +179,10 @@ public: } void closePath() { - _path.close(); - flush(); + if (_in_path) { + _path.close(); + flush(); + } } void flush() { -- cgit v1.2.3