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