summaryrefslogtreecommitdiff
path: root/source/xps/xps-path.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-10-30 16:38:31 +0100
committerTor Andersson <tor.andersson@artifex.com>2013-11-05 15:56:28 +0100
commit1f930f64d8c5abf89b62b806efca1c64b216e413 (patch)
treecc740548df3b23ed77e0d98837207f66a92d9ea0 /source/xps/xps-path.c
parenta7ea508d281352b1fae056b5c8e86648063b2629 (diff)
downloadmupdf-1f930f64d8c5abf89b62b806efca1c64b216e413.tar.xz
Improve stroke state function names that take the dash array length.
Diffstat (limited to 'source/xps/xps-path.c')
-rw-r--r--source/xps/xps-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-path.c b/source/xps/xps-path.c
index 30d40aff..b97ee17d 100644
--- a/source/xps/xps-path.c
+++ b/source/xps/xps-path.c
@@ -922,7 +922,7 @@ xps_parse_path(xps_document *doc, const fz_matrix *ctm, char *base_uri, xps_reso
s++;
}
}
- stroke = fz_new_stroke_state_with_len(doc->ctx, dash_len);
+ stroke = fz_new_stroke_state_with_dash_len(doc->ctx, dash_len);
stroke->start_cap = xps_parse_line_cap(stroke_start_line_cap_att);
stroke->dash_cap = xps_parse_line_cap(stroke_dash_cap_att);
stroke->end_cap = xps_parse_line_cap(stroke_end_line_cap_att);