summaryrefslogtreecommitdiff
path: root/delta.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-16 01:47:07 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-16 01:47:07 -0300
commit36e9c619bb923ec831e7744ddf037da7e07b45b1 (patch)
tree1091efb44f9f16a9e3af30d0cd8792450ac2457c /delta.c
parent30d27f7b50f562552c6d38b3a8310948eee9ccdb (diff)
downloadeeshow-36e9c619bb923ec831e7744ddf037da7e07b45b1.tar.gz
eeshow-36e9c619bb923ec831e7744ddf037da7e07b45b1.tar.bz2
eeshow-36e9c619bb923ec831e7744ddf037da7e07b45b1.zip
eeshow/: support selection of "De Morgan" style
Diffstat (limited to 'delta.c')
-rw-r--r--delta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/delta.c b/delta.c
index 5325d5a..3ae1087 100644
--- a/delta.c
+++ b/delta.c
@@ -263,6 +263,8 @@ static bool obj_eq(const struct sch_obj *a, const struct sch_obj *b,
return 0;
if (a->u.comp.unit != b->u.comp.unit)
return 0;
+ if (a->u.comp.convert != b->u.comp.convert)
+ return 0;
if (memcmp(a->u.comp.m, b->u.comp.m, sizeof(a->u.comp.m)))
return 0;
return comp_fields_eq(a->u.comp.fields, b->u.comp.fields);