summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/opentype/hb-ot-layout-common-private.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/hb-ot-layout-common-private.hh b/pango/opentype/hb-ot-layout-common-private.hh
index df47b07d..75ef7875 100644
--- a/pango/opentype/hb-ot-layout-common-private.hh
+++ b/pango/opentype/hb-ot-layout-common-private.hh
@@ -48,7 +48,7 @@ struct Record
{
inline bool sanitize (SANITIZE_ARG_DEF, const void *base) {
SANITIZE_DEBUG ();
- return SANITIZE (tag) == 0 && SANITIZE_BASE (offset, base);
+ return SANITIZE (tag) && SANITIZE_BASE (offset, base);
}
Tag tag; /* 4-byte Tag identifier */