mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
Oops!
This commit is contained in:
1 parent
b12e2549cb
commit
b1de6aa1f3
2 files changed
+2
-2
No files matched your search
@@ -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));
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user