提交 f45ac629 编写于 作者: M Michiharu Ariza

fixed name mixup in Remap::reset

it was causing inconsistent Strings Index subset results
上级 497e7fb2
...@@ -356,9 +356,9 @@ struct Remap : hb_vector_t<hb_codepoint_t> ...@@ -356,9 +356,9 @@ struct Remap : hb_vector_t<hb_codepoint_t>
inline void fini (void) inline void fini (void)
{ hb_vector_t<hb_codepoint_t>::fini (); } { hb_vector_t<hb_codepoint_t>::fini (); }
inline bool reset (unsigned int count) inline bool reset (unsigned int size)
{ {
if (unlikely (!hb_vector_t<hb_codepoint_t>::resize (count))) if (unlikely (!hb_vector_t<hb_codepoint_t>::resize (size)))
return false; return false;
for (unsigned int i = 0; i < len; i++) for (unsigned int i = 0; i < len; i++)
(*this)[i] = CFF_UNDEF_CODE; (*this)[i] = CFF_UNDEF_CODE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册