Merge pull request #78 from resset/master
gdisp: fixed bug in line drawing function
This commit is contained in:
commit
2d9dab0291
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ GDISPDriver GDISP;
|
||||||
if (x1 > x0)
|
if (x1 > x0)
|
||||||
gdisp_lld_fill_area(x0, y0, x1-x0+1, 1, color);
|
gdisp_lld_fill_area(x0, y0, x1-x0+1, 1, color);
|
||||||
else
|
else
|
||||||
gdisp_lld_fill_area(x0, y1, x0-x1+1, 1, color);
|
gdisp_lld_fill_area(x1, y0, x0-x1+1, 1, color);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue