summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--draw/draw_path.c4
-rw-r--r--fitz/fitz.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/draw/draw_path.c b/draw/draw_path.c
index 458ce349..755283b7 100644
--- a/draw/draw_path.c
+++ b/draw/draw_path.c
@@ -272,8 +272,8 @@ fz_add_line_join(struct sctx *s, fz_point a, fz_point b, fz_point c, int join_un
}
else
{
- fz_add_line(s, b.x + dlx1, b.y + dly1, b.x, b.y);
- fz_add_line(s, b.x, b.y, b.x + dlx0, b.y + dly0);
+ fz_add_line(s, b.x + dlx1, b.y + dly1, b.x, b.y);
+ fz_add_line(s, b.x, b.y, b.x + dlx0, b.y + dly0);
}
/* XPS miter joins are clipped at miterlength, rather than simply
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 9e0c0311..04215c71 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -703,7 +703,7 @@ extern const fz_bbox fz_infinite_bbox;
different representations.
/ a b 0 \
- | c d 0 | normally represented as [ a b c d e f ].
+ | c d 0 | normally represented as [ a b c d e f ].
\ e f 1 /
*/
typedef struct fz_matrix_s fz_matrix;