summaryrefslogtreecommitdiff
path: root/src/cairo-path-in-fill.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-11-06 01:04:52 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-11-06 01:07:25 +0000
commit13627b46209f9239d10a155f2de7e53c0585e4c2 (patch)
treedb44a331c38f77abd8e8e0ff8f26141e172a84a1 /src/cairo-path-in-fill.c
parent9dee7af41f4f5a4c1285e9d7951148e78659c064 (diff)
downloadcairo-13627b46209f9239d10a155f2de7e53c0585e4c2.tar.gz
[in-fill] Fix transposed arguments.
Silly typo that escaped the test suite.
Diffstat (limited to 'src/cairo-path-in-fill.c')
-rw-r--r--src/cairo-path-in-fill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-path-in-fill.c b/src/cairo-path-in-fill.c
index 8bfc9d8ab..f9920eafe 100644
--- a/src/cairo-path-in-fill.c
+++ b/src/cairo-path-in-fill.c
@@ -125,7 +125,7 @@ _cairo_in_fill_add_edge (cairo_in_fill_t *in_fill,
return;
if ((p1->x <= in_fill->x && p2->x <= in_fill->x) ||
- edge_compare_for_y_against_x (p1, p2, in_fill->x, in_fill->y) <= 0)
+ edge_compare_for_y_against_x (p1, p2, in_fill->y, in_fill->x) <= 0)
{
in_fill->winding += dir;
}