diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-09-02 13:35:49 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-09-02 13:35:49 +0200 |
commit | 50e38df556f23d10d90647d8277c541102226c22 (patch) | |
tree | 8bbe3ef71e78671e337974bd5544a77572e1f41f /draw/draw_path.c | |
parent | fe9590a171411226d34b6ffcdc71db6f6b799e4d (diff) | |
download | mupdf-50e38df556f23d10d90647d8277c541102226c22.tar.xz |
Fix minor regression in fix for zero-length line segment dots.
Diffstat (limited to 'draw/draw_path.c')
-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) |