aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel.bodenmann@hevs.ch>2012-10-24 17:40:35 +0200
committerJoel Bodenmann <joel.bodenmann@hevs.ch>2012-10-24 17:40:35 +0200
commite121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30 (patch)
tree93baa46cb2463c9d289c79588bb1de4e4415c293
parent03ccc151c3078a18f07fdada8073b50925faa683 (diff)
downloaduGFX-e121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30.tar.gz
uGFX-e121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30.tar.bz2
uGFX-e121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30.zip
graphDrawDot() fix
-rw-r--r--src/graph.c2
1 files changed, 1 insertions, 1 deletions
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);