diff options
-rw-r--r-- | svgwrite.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svgwrite.go b/svgwrite.go index 7045199..398a6da 100644 --- a/svgwrite.go +++ b/svgwrite.go @@ -76,6 +76,7 @@ func (f *Fpdf) SVGBasicWrite(sb *SVGBasicType, scale float64) { y = newY case 'Z': f.Line(x, y, startX, startY) + x, y = startX, startY default: f.SetErrorf("Unexpected path command '%c'", seg.Cmd) } |