From 62ed5850d9e0e0d0231889470d58e815420c21e5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 4 Aug 2009 23:30:32 -0400 Subject: [PATCH] [HB] Fix another sanitize() bug; hopefully it's the last one --- src/hb-ot-layout-common-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index 089e0e8..02ab58d 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/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 */ -- 2.7.4