diff options
author | Michiharu Ariza <ariza@adobe.com> | 2019-02-07 10:27:43 -0800 |
---|---|---|
committer | Michiharu Ariza <ariza@adobe.com> | 2019-02-07 10:27:43 -0800 |
commit | 214d0b024b49edd51974ff2c051535ae06de0709 (patch) | |
tree | 961be790b36d7c5e837d6c1f419259ba845ad144 /src | |
parent | 9328354a83252a8d8d74fe424ab3894d398b0bd0 (diff) |
minor change
Diffstat (limited to 'src')
-rw-r--r-- | src/hb-subset-cff-common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hb-subset-cff-common.cc b/src/hb-subset-cff-common.cc index d6feb4b1..46821fec 100644 --- a/src/hb-subset-cff-common.cc +++ b/src/hb-subset-cff-common.cc @@ -66,7 +66,7 @@ hb_plan_subset_cff_fdselect (const hb_subset_plan_t *plan, hb_set_t *set = hb_set_create (); if (set == &Null (hb_set_t)) return false; - hb_codepoint_t prev_fd = CFF_UNDEF_CODE; + hb_codepoint_t prev_fd = 0; for (hb_codepoint_t i = 0; i < subset_num_glyphs; i++) { hb_codepoint_t glyph; @@ -75,7 +75,7 @@ hb_plan_subset_cff_fdselect (const hb_subset_plan_t *plan, { /* for a missing glyph, use the same fd as the previous * as an attempt to minimize the number of ranges */ - fd = (prev_fd == CFF_UNDEF_CODE)? 0: prev_fd; + fd = prev_fd; } else { |