[cff] Fix arg-stack peek() impl
This commit is contained in:
parent
6106ef8c0f
commit
1b14d2ff13
|
@ -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…
Reference in New Issue