better compute for empty circle size

This commit is contained in:
Julien Danjou 2007-10-11 17:09:38 +02:00
parent a06674fbe7
commit f20c729d64

2
draw.c
View file

@ -111,7 +111,7 @@ drawcircle(Display *disp, int screen, int x, int y, int r, Drawable drawable, in
cairo_fill(cr); cairo_fill(cr);
} }
else else
cairo_arc (cr, x + r + 1, y + r, r, 0, 2 * M_PI); cairo_arc (cr, x + r, y + r, r - 1, 0, 2 * M_PI);
cairo_stroke(cr); cairo_stroke(cr);