From e121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Wed, 24 Oct 2012 17:40:35 +0200 Subject: [PATCH] graphDrawDot() fix --- src/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph.c b/src/graph.c index b80cbd09..715f0888 100644 --- a/src/graph.c +++ b/src/graph.c @@ -126,7 +126,7 @@ void graphDrawFourQuadrants(Graph *g) { } void graphDrawDot(coord_t x, coord_t y, uint16_t radius, color_t color) { - if(radius == 1) + if(radius == 0) gdispDrawPixel(origin.x + x, origin.y + y, color); else gdispFillCircle(origin.x + x, origin.y + y, radius, color);