From 1f930f64d8c5abf89b62b806efca1c64b216e413 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 30 Oct 2013 16:38:31 +0100 Subject: Improve stroke state function names that take the dash array length. --- source/xps/xps-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/xps') 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); -- cgit v1.2.3