Remove excess sub_format sanitize
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 11 May 2010 03:08:41 +0000 (23:08 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 11 May 2010 03:08:41 +0000 (23:08 -0400)
src/hb-ot-layout-gpos-private.hh
src/hb-ot-layout-gsub-private.hh

index c814893..f028245 100644 (file)
@@ -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);
index 494e2de..849a20c 100644 (file)
@@ -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);