aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2013-06-25 19:30:36 -0700
committerAndrew Hannam <andrewh@inmarket.com.au>2013-06-25 19:30:36 -0700
commit2d9dab0291d4fad88d5304b287651c4494dbb3ff (patch)
tree2af99f9dd463cbe351d6e80ad3cdbe1da2f3dfa4
parent8c3f23f606e9553b84e21f52ab9b2eea883f4ecf (diff)
parentd3d561535b5a170989cac86b90831002d1bfe73d (diff)
downloaduGFX-2d9dab0291d4fad88d5304b287651c4494dbb3ff.tar.gz
uGFX-2d9dab0291d4fad88d5304b287651c4494dbb3ff.tar.bz2
uGFX-2d9dab0291d4fad88d5304b287651c4494dbb3ff.zip
Merge pull request #78 from resset/master
gdisp: fixed bug in line drawing function
-rw-r--r--include/gdisp/lld/emulation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gdisp/lld/emulation.c b/include/gdisp/lld/emulation.c
index c64f8259..49a26697 100644
--- a/include/gdisp/lld/emulation.c
+++ b/include/gdisp/lld/emulation.c
@@ -54,7 +54,7 @@ GDISPDriver GDISP;
if (x1 > x0)
gdisp_lld_fill_area(x0, y0, x1-x0+1, 1, color);
else
- gdisp_lld_fill_area(x0, y1, x0-x1+1, 1, color);
+ gdisp_lld_fill_area(x1, y0, x0-x1+1, 1, color);
return;
}
#endif