提交 c53a25c6 编写于 作者: B Behdad Esfahbod

[morx] Comment

上级 c46d42f8
...@@ -410,7 +410,7 @@ struct LigatureSubtable ...@@ -410,7 +410,7 @@ struct LigatureSubtable
uint32_t uoffset = action & LigActionOffset; uint32_t uoffset = action & LigActionOffset;
if (uoffset & 0x20000000) if (uoffset & 0x20000000)
uoffset += 0xC0000000; uoffset |= 0xC0000000; /* Sign-extend. */
int32_t offset = (int32_t) uoffset; int32_t offset = (int32_t) uoffset;
if (buffer->idx >= buffer->len) if (buffer->idx >= buffer->len)
return false; // TODO Work on previous instead? return false; // TODO Work on previous instead?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册