提交 0e5bcdef 编写于 作者: B Behdad Esfahbod

[morx] Clear stack upon underflow when acting ligatures

上级 1bfb96a9
......@@ -402,7 +402,11 @@ struct LigatureSubtable
do
{
if (unlikely (!cursor))
{
/* Stack underflow. Clear the stack. */
match_length = 0;
break;
}
buffer->move_to (match_positions[--cursor]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册