mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-04 23:05:21 +02:00
eeshow/kicad/delta.c (comp_eq_objs): rectangle comparison was very confused
This commit is contained in:
parent
c42fe2f5a2
commit
c12f5f34a6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user