summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-08-04 23:30:32 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-08-04 23:30:32 -0400
commit85c2e96bee9c19cec66f2b7fefabcab1bb1fe57f (patch)
tree3057ee0642244f89ab0220c96c8005a96b9160bd
parent2e28925934eac99d59ba3a9257071e0e735d0819 (diff)
downloadpango-85c2e96bee9c19cec66f2b7fefabcab1bb1fe57f.tar.gz
[HB] Fix another sanitize() bug; hopefully it's the last one
-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 */