1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-25 23:35:55 +02:00

eeshow/kicad/delta.c (comp_eq_objs): rectangle comparison was very confused

This commit is contained in:
Werner Almesberger 2016-08-20 22:21:14 -03:00
parent c42fe2f5a2
commit c12f5f34a6

View File

@ -63,7 +63,9 @@ static bool comp_eq_objs(const struct lib_obj *a, const struct lib_obj *b)
return 1;
case lib_obj_rect:
return a->u.rect.sx == b->u.rect.sx &&
a->u.rect.ex == a->u.rect.ey &&
a->u.rect.sy == b->u.rect.sy &&
a->u.rect.ex == b->u.rect.ex &&
a->u.rect.ey == b->u.rect.ey &&
a->u.rect.thick == b->u.rect.thick &&
a->u.rect.fill == b->u.rect.fill;
case lib_obj_circ: