From 24552ecf92982fe561dc47d5102fcf1a7b337c70 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 10 May 2010 23:08:41 -0400 Subject: [PATCH] Remove excess sub_format sanitize --- src/hb-ot-layout-gpos-private.hh | 1 - src/hb-ot-layout-gsub-private.hh | 1 - 2 files changed, 2 deletions(-) diff --git a/src/hb-ot-layout-gpos-private.hh b/src/hb-ot-layout-gpos-private.hh index c814893..f028245 100644 --- a/src/hb-ot-layout-gpos-private.hh +++ b/src/hb-ot-layout-gpos-private.hh @@ -1460,7 +1460,6 @@ struct PosLookupSubTable inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) { TRACE_SANITIZE (); - if (!u.sub_format.sanitize (context)) return false; switch (lookup_type) { case Single: return u.single.sanitize (context); case Pair: return u.pair.sanitize (context); diff --git a/src/hb-ot-layout-gsub-private.hh b/src/hb-ot-layout-gsub-private.hh index 494e2de..849a20c 100644 --- a/src/hb-ot-layout-gsub-private.hh +++ b/src/hb-ot-layout-gsub-private.hh @@ -732,7 +732,6 @@ struct SubstLookupSubTable inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) { TRACE_SANITIZE (); - if (!u.sub_format.sanitize (context)) return false; switch (lookup_type) { case Single: return u.single.sanitize (context); case Multiple: return u.multiple.sanitize (context); -- 2.7.4