Remove excess sub_format sanitize
This commit is contained in:
parent
f7adc5e9be
commit
24552ecf92
|
@ -1460,7 +1460,6 @@ struct PosLookupSubTable
|
||||||
|
|
||||||
inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) {
|
inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) {
|
||||||
TRACE_SANITIZE ();
|
TRACE_SANITIZE ();
|
||||||
if (!u.sub_format.sanitize (context)) return false;
|
|
||||||
switch (lookup_type) {
|
switch (lookup_type) {
|
||||||
case Single: return u.single.sanitize (context);
|
case Single: return u.single.sanitize (context);
|
||||||
case Pair: return u.pair.sanitize (context);
|
case Pair: return u.pair.sanitize (context);
|
||||||
|
|
|
@ -732,7 +732,6 @@ struct SubstLookupSubTable
|
||||||
|
|
||||||
inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) {
|
inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) {
|
||||||
TRACE_SANITIZE ();
|
TRACE_SANITIZE ();
|
||||||
if (!u.sub_format.sanitize (context)) return false;
|
|
||||||
switch (lookup_type) {
|
switch (lookup_type) {
|
||||||
case Single: return u.single.sanitize (context);
|
case Single: return u.single.sanitize (context);
|
||||||
case Multiple: return u.multiple.sanitize (context);
|
case Multiple: return u.multiple.sanitize (context);
|
||||||
|
|
Loading…
Reference in New Issue