From f20c729d64c05c1f9efb551eca003ca491702c4c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 11 Oct 2007 17:09:38 +0200 Subject: [PATCH] better compute for empty circle size --- draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw.c b/draw.c index 07f7bef3..561b48cd 100644 --- a/draw.c +++ b/draw.c @@ -111,7 +111,7 @@ drawcircle(Display *disp, int screen, int x, int y, int r, Drawable drawable, in cairo_fill(cr); } 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);