[sanitize] Fix typo

This commit is contained in:
Behdad Esfahbod 2021-01-24 13:30:06 -07:00
parent e05e56061c
commit a650243d39
1 changed files with 3 additions and 3 deletions

View File

@ -113,8 +113,8 @@
#ifndef HB_SANITIZE_MAX_OPS_MAX
#define HB_SANITIZE_MAX_OPS_MAX 0x3FFFFFFF
#endif
#ifndef HB_SANITIZE_MAX_SUTABLES
#define HB_SANITIZE_MAX_SUTABLES 0x4000
#ifndef HB_SANITIZE_MAX_SUBTABLES
#define HB_SANITIZE_MAX_SUBTABLES 0x4000
#endif
struct hb_sanitize_context_t :
@ -139,7 +139,7 @@ struct hb_sanitize_context_t :
bool visit_subtables (unsigned count)
{
max_subtables += count;
return max_subtables < HB_SANITIZE_MAX_SUTABLES;
return max_subtables < HB_SANITIZE_MAX_SUBTABLES;
}
private: