mirror of
https://github.com/open-simh/simh.git
synced 2026-04-27 12:39:13 +00:00
display: Fix display type 340 bug.
In the vector function, the flags variable wasn't initialized. The function can sometimes return boolean true even if it shouldn't.
This commit is contained in:
committed by
Mark Pizzolato
parent
a3c40cd290
commit
d7f1942998
@@ -453,7 +453,7 @@ vector(int i, int sy, int dy, int sx, int dx)
|
|||||||
{
|
{
|
||||||
struct type340 *u = UNIT(0);
|
struct type340 *u = UNIT(0);
|
||||||
int x0, y0, x1, y1;
|
int x0, y0, x1, y1;
|
||||||
int flags;
|
int flags = 0;
|
||||||
|
|
||||||
DEBUGF(("v i%d y%c%d x%c%d\r\n", i,
|
DEBUGF(("v i%d y%c%d x%c%d\r\n", i,
|
||||||
(sy ? '-' : '+'), dy,
|
(sy ? '-' : '+'), dy,
|
||||||
|
|||||||
Reference in New Issue
Block a user