Merge pull request #78 from resset/master

gdisp: fixed bug in line drawing function
ugfx_release_2.6
Andrew Hannam 2013-06-25 19:30:36 -07:00
commit 2d9dab0291
1 changed files with 1 additions and 1 deletions

View File

@ -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