mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
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
@ -405,7 +405,7 @@ lineTwoStep(int x0, int y0, int x1, int y1)
|
||||
if (d > 0) {
|
||||
lpoint(x0 += stepx, y0);
|
||||
lpoint(x0 += stepx, y0 += stepy);
|
||||
lpoint(x1 -= stepy, y1);
|
||||
lpoint(x1 -= stepx, y1);
|
||||
lpoint(x1 -= stepx, y1 -= stepy);
|
||||
d += incr1;
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user