fix bug
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 @@
 	      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++;