parenthesized cond-exp in CFF2FDSelect::sanitize

This commit is contained in:
Michiharu Ariza 2019-06-03 15:52:23 -07:00
parent 760eb1bf93
commit be82a2fc0c
1 changed files with 2 additions and 2 deletions

View File

@ -56,11 +56,11 @@ struct CFF2FDSelect
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
return_trace (likely (c->check_struct (this) && (format == 0 || format == 3 || format == 4) && return_trace (likely (c->check_struct (this) && (format == 0 || format == 3 || format == 4) &&
(format == 0)? ((format == 0)?
u.format0.sanitize (c, fdcount): u.format0.sanitize (c, fdcount):
((format == 3)? ((format == 3)?
u.format3.sanitize (c, fdcount): u.format3.sanitize (c, fdcount):
u.format4.sanitize (c, fdcount)))); u.format4.sanitize (c, fdcount)))));
} }
bool serialize (hb_serialize_context_t *c, const CFF2FDSelect &src, unsigned int num_glyphs) bool serialize (hb_serialize_context_t *c, const CFF2FDSelect &src, unsigned int num_glyphs)