Skip to content

Commit

Permalink
tok: fix calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince213 committed Sep 4, 2021
1 parent cd8bb59 commit 88ba057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tok.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static int tok_req(int a, int b)
if (eqln[i - 1] != '.')
goto failed;
eqln[i++] = src_next();
while (eqln[i - 1] == ' ' && i < sizeof(eqln) - 4)
while (eqln[i - 1] == ' ' && i < LEN(eqln) - 1)
eqln[i++] = src_next();
if (eqln[i - 1] != a)
goto failed;
Expand Down

0 comments on commit 88ba057

Please sign in to comment.