1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 17:57:30 +02:00

sch2fig/gfx.c (gfx_line): fallback to gfx_poly only drew horizontal lines

This commit is contained in:
Werner Almesberger 2016-07-31 03:17:36 -03:00
parent d5756a2e0e
commit 6293c1e833

View File

@ -28,7 +28,7 @@ void gfx_line(int sx, int sy, int ex, int ey, int color, unsigned layer)
} }
int vx[] = { sx, ex }; int vx[] = { sx, ex };
int vy[] = { sy, sy }; int vy[] = { sy, ey };
gfx_poly(2, vx, vy, color, COLOR_NONE, layer); gfx_poly(2, vx, vy, color, COLOR_NONE, layer);
} }