diff --git a/src/cairo.c b/src/cairo.c index 5117f8a97..1e8332ae9 100644 --- a/src/cairo.c +++ b/src/cairo.c @@ -1896,7 +1896,12 @@ cairo_arc_negative (cairo_t *cr, return; /* Do nothing, successfully, if radius is <= 0 */ - if (radius <= 0.0) + if (radius <= 0.0) { + cairo_line_to (cr, xc, yc); /* might become a move_to */ + cairo_line_to (cr, xc, yc); + return; + } + return; while (angle2 > angle1)