mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-23 22:10:25 +01:00
[path] A degenerate curve_to becomes a line_to.
Be consistent.
This commit is contained in:
parent
778ced4879
commit
ee7ac5681f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue