From 755fefc92113e469a1aadee2546958fede156c01 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Tue, 4 Dec 2018 23:18:28 -0800 Subject: [PATCH] fix bug --- src/hb-cff-interp-dict-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-cff-interp-dict-common.hh b/src/hb-cff-interp-dict-common.hh index 7eafc7c..f84f26c 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++; -- 2.7.4