[path] A degenerate curve_to becomes a line_to.

Be consistent.
This commit is contained in:
Chris Wilson 2009-01-21 12:04:06 +00:00
parent 778ced4879
commit ee7ac5681f

View file

@ -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;