From 1361f4143e3f97e179c1a45294b0f72b70804f72 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 5 Oct 2012 19:53:04 +0200 Subject: [PATCH] Fix erasing dots in seek graph The cairo dots were just a little bit bigger than the old ones, so they were not properly erased, but left a remnant. --- xboard.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xboard.c b/xboard.c index 3d05f69..7de8543 100644 --- a/xboard.c +++ b/xboard.c @@ -3115,9 +3115,9 @@ void DrawSeekDot(int x, int y, int colorNr) colorNr &= 0x7F; if(square) - cairo_rectangle (cr, x-squareSize/9, y-squareSize/9, 2*squareSize/9, 2*squareSize/9); + cairo_rectangle (cr, x-squareSize/9, y-squareSize/9, 2*(squareSize/9), 2*(squareSize/9)); else - cairo_arc(cr, x, y, squareSize/8, 0.0, 2*M_PI); + cairo_arc(cr, x, y, squareSize/9, 0.0, 2*M_PI); SetPen(cr, 2, "#000000", 0); cairo_stroke_preserve(cr); -- 1.7.0.4