提交 3e0a0397 编写于 作者: B Behdad Esfahbod

Minor

上级 667218a5
...@@ -90,7 +90,6 @@ static hb_codepoint_t get_arabic_shape (hb_codepoint_t u, unsigned int shape) ...@@ -90,7 +90,6 @@ static hb_codepoint_t get_arabic_shape (hb_codepoint_t u, unsigned int shape)
static uint16_t get_ligature (hb_codepoint_t first, hb_codepoint_t second) static uint16_t get_ligature (hb_codepoint_t first, hb_codepoint_t second)
{ {
if (unlikely (!second)) return 0;
for (unsigned i = 0; i < ARRAY_LENGTH (ligature_table); i++) for (unsigned i = 0; i < ARRAY_LENGTH (ligature_table); i++)
if (ligature_table[i].first == first) if (ligature_table[i].first == first)
for (unsigned j = 0; j < ARRAY_LENGTH (ligature_table[i].ligatures); j++) for (unsigned j = 0; j < ARRAY_LENGTH (ligature_table[i].ligatures); j++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册