diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-28 13:42:57 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-28 13:42:57 +0200 |
commit | 68f746a1075518182ba30d35be28a8163e06c6ed (patch) | |
tree | 16cd27c8e63c9e5c7e8f7f79e9ee44f71f5d155e /xps | |
parent | bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 (diff) | |
download | mupdf-68f746a1075518182ba30d35be28a8163e06c6ed.tar.xz |
Whitespace fixes.
Diffstat (limited to 'xps')
-rw-r--r-- | xps/xps_path.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xps/xps_path.c b/xps/xps_path.c index 6720390d..696a78b9 100644 --- a/xps/xps_path.c +++ b/xps/xps_path.c @@ -865,7 +865,7 @@ xps_parse_path(xps_document *doc, fz_matrix ctm, char *base_uri, xps_resource *d fz_path *stroke_path = NULL; fz_rect area; int fill_rule; - int dash_len = 0; + int dash_len = 0; /* * Extract attributes and extended attributes. @@ -937,8 +937,8 @@ xps_parse_path(xps_document *doc, fz_matrix ctm, char *base_uri, xps_resource *d stroke_tag = NULL; } - if (stroke_att || stroke_tag) - { + if (stroke_att || stroke_tag) + { if (stroke_dash_array_att) { char *s = stroke_dash_array_att; @@ -949,7 +949,7 @@ xps_parse_path(xps_document *doc, fz_matrix ctm, char *base_uri, xps_resource *d s++; if (*s) /* needed in case of a space before the last quote */ dash_len++; - + while (*s && *s != ' ') s++; } @@ -1075,7 +1075,7 @@ xps_parse_path(xps_document *doc, fz_matrix ctm, char *base_uri, xps_resource *d fz_free_path(doc->ctx, stroke_path); fz_free_path(doc->ctx, path); path = NULL; - fz_drop_stroke_state(doc->ctx, stroke); + fz_drop_stroke_state(doc->ctx, stroke); if (clip_att || clip_tag) fz_pop_clip(doc->dev); |