[sanitize] Fix typo

This commit is contained in:
Behdad Esfahbod committed 2021-01-24 13:30:06 -07:00
1 parent e05e56061c
commit a650243d39
1 file changed
+3 -3
+3 -3
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: