mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 16:32:53 +02:00
sch2fig/gfx.c (gfx_line): fallback to gfx_poly only drew horizontal lines
This commit is contained in:
parent
d5756a2e0e
commit
6293c1e833
@ -28,7 +28,7 @@ void gfx_line(int sx, int sy, int ex, int ey, int color, unsigned layer)
|
||||
}
|
||||
|
||||
int vx[] = { sx, ex };
|
||||
int vy[] = { sy, sy };
|
||||
int vy[] = { sy, ey };
|
||||
|
||||
gfx_poly(2, vx, vy, color, COLOR_NONE, layer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user