diff --git a/src/hb-cff-interp-dict-common.hh b/src/hb-cff-interp-dict-common.hh index 7eafc7c08..f84f26cd4 100644 --- a/src/hb-cff-interp-dict-common.hh +++ b/src/hb-cff-interp-dict-common.hh @@ -204,7 +204,7 @@ struct DictOpSet : OpSet break; case FRAC_PART: - if (likely ((frac_count <= MAX_FRACT / 10))) + if (likely ((fract_part <= MAX_FRACT / 10))) { frac_part = (frac_part * 10) + d; frac_count++;