From ee7ac5681fa6a74b68beeae667d96d1421050fc9 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 21 Jan 2009 12:04:06 +0000 Subject: [PATCH] [path] A degenerate curve_to becomes a line_to. Be consistent. --- src/cairo-path-fixed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c index 6e963aecf..41096f124 100644 --- a/src/cairo-path-fixed.c +++ b/src/cairo-path-fixed.c @@ -901,7 +901,7 @@ _cpf_curve_to (void *closure, cpf->closure, p0, p1, p2, p3)) { - return CAIRO_STATUS_SUCCESS; + return _cpf_line_to (closure, p3); } cpf->current_point = *p3;