diff options
author | Benjamin Otte <otte@redhat.com> | 2011-02-19 10:32:19 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-02-19 10:32:19 +0100 |
commit | 9fc5ff797ac6f4cf9029319907fb5556a585108b (patch) | |
tree | 3a7a8f7b139f0dc083ec9cc233ef3d2e00877d3b | |
parent | f847b3c2162029ee0b0ae4906d48a0d7c1312df3 (diff) |
test: Fix copy/paste error
-rw-r--r-- | test/get-path-extents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/get-path-extents.c b/test/get-path-extents.c index bd54f0ef..4123ddbe 100644 --- a/test/get-path-extents.c +++ b/test/get-path-extents.c @@ -158,13 +158,13 @@ draw (cairo_t *cr, int width, int height) errors += !check_extents (ctx, phase, cr2, PATH, EQUALS, 200, 400, 0, 0); cairo_new_path (cr2); - cairo_new_path (cr2); cairo_arc (cr2, 200, 400, 10., 0, 0); phase = "Degenerate arc (Θ=0)"; errors += !check_extents (ctx, phase, cr2, FILL, EQUALS, 0, 0, 0, 0); errors += !check_extents (ctx, phase, cr2, STROKE, EQUALS, 0, 0, 0, 0); errors += !check_extents (ctx, phase, cr2, PATH, EQUALS, 210, 400, 0, 0); + cairo_new_path (cr2); cairo_arc_negative (cr2, 200, 400, 10., 0, 0); phase = "Degenerate negative arc (Θ=0)"; errors += !check_extents (ctx, phase, cr2, FILL, EQUALS, 0, 0, 0, 0); |