diff options
author | Joel Bodenmann <joel.bodenmann@hevs.ch> | 2012-10-24 17:40:35 +0200 |
---|---|---|
committer | Joel Bodenmann <joel.bodenmann@hevs.ch> | 2012-10-24 17:40:35 +0200 |
commit | e121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30 (patch) | |
tree | 93baa46cb2463c9d289c79588bb1de4e4415c293 | |
parent | 03ccc151c3078a18f07fdada8073b50925faa683 (diff) | |
download | uGFX-e121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30.tar.gz uGFX-e121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30.tar.bz2 uGFX-e121b31a70c4fd8f8d29f7698a2f1c6fb9c62f30.zip |
graphDrawDot() fix
-rw-r--r-- | src/graph.c | 2 |
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); |