[cff] Fix arg-stack peek() impl

This commit is contained in:
Behdad Esfahbod 2022-05-09 18:15:31 -06:00
parent 6106ef8c0f
commit 1b14d2ff13
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ struct cff_stack_t
const ELEM& peek ()
{
if (unlikely (count < 0))
if (unlikely (count == 0))
{
set_error ();
return Null (ELEM);