mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-15 01:18:13 +00:00
[cff] Fix arg-stack peek() impl
This commit is contained in:
parent
6106ef8c0f
commit
1b14d2ff13
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ struct cff_stack_t
|
|||
|
||||
const ELEM& peek ()
|
||||
{
|
||||
if (unlikely (count < 0))
|
||||
if (unlikely (count == 0))
|
||||
{
|
||||
set_error ();
|
||||
return Null (ELEM);
|
||||
|
|
Loading…
Add table
Reference in a new issue