diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-08-04 23:30:32 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-08-04 23:30:32 -0400 |
commit | 85c2e96bee9c19cec66f2b7fefabcab1bb1fe57f (patch) | |
tree | 3057ee0642244f89ab0220c96c8005a96b9160bd | |
parent | 2e28925934eac99d59ba3a9257071e0e735d0819 (diff) | |
download | pango-85c2e96bee9c19cec66f2b7fefabcab1bb1fe57f.tar.gz |
[HB] Fix another sanitize() bug; hopefully it's the last one
-rw-r--r-- | pango/opentype/hb-ot-layout-common-private.hh | 2 |
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 */ |