diff options
-rw-r--r-- | draw/draw_path.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/draw/draw_path.c b/draw/draw_path.c index 96ed6a4a..aed5ba4b 100644 --- a/draw/draw_path.c +++ b/draw/draw_path.c @@ -537,6 +537,8 @@ fz_flatten_stroke_path(fz_gel *gel, fz_path *path, fz_stroke_state *stroke, fz_m s.offset = 0; s.phase = 0; + s.cap = stroke->start_cap; + i = 0; if (path->len > 0 && path->items[0].k != FZ_MOVETO) |