display: Fix bug in Type 340 vector drawing routine.
In the lineTwoStep function, a typo makes vectors in two quadrants drawn incorrectly.
This commit is contained in:
parent
c9dae318df
commit
0a430fee9a
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ lineTwoStep(int x0, int y0, int x1, int y1)
|
||||||
if (d > 0) {
|
if (d > 0) {
|
||||||
lpoint(x0 += stepx, y0);
|
lpoint(x0 += stepx, y0);
|
||||||
lpoint(x0 += stepx, y0 += stepy);
|
lpoint(x0 += stepx, y0 += stepy);
|
||||||
lpoint(x1 -= stepy, y1);
|
lpoint(x1 -= stepx, y1);
|
||||||
lpoint(x1 -= stepx, y1 -= stepy);
|
lpoint(x1 -= stepx, y1 -= stepy);
|
||||||
d += incr1;
|
d += incr1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue