This commit is contained in:
Behdad Esfahbod committed 2012-06-09 03:07:59 -04:00
1 parent b12e2549cb
commit b1de6aa1f3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1343,7 +1343,7 @@ struct PosLookupSubTable
inline bool sanitize (hb_sanitize_context_t *c, unsigned int lookup_type) {
TRACE_SANITIZE ();
if (!u.header.sub_format.sanitize (c) ||
(can_use_fast_path (lookup_type)) && !u.header.coverage.sanitize (c, this))
(can_use_fast_path (lookup_type) && !u.header.coverage.sanitize (c, this)))
return TRACE_RETURN (false);
switch (lookup_type) {
case Single: return TRACE_RETURN (u.single.sanitize (c));
+1 -1
View File
@@ -1000,7 +1000,7 @@ struct SubstLookupSubTable
inline bool sanitize (hb_sanitize_context_t *c, unsigned int lookup_type) {
TRACE_SANITIZE ();
if (!u.header.sub_format.sanitize (c) ||
(can_use_fast_path (lookup_type)) && !u.header.coverage.sanitize (c, this))
(can_use_fast_path (lookup_type) && !u.header.coverage.sanitize (c, this)))
return TRACE_RETURN (false);
switch (lookup_type) {
case Single: return TRACE_RETURN (u.single.sanitize (c));