Skip to content

Commit

Permalink
Minor correction to previous puzzle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rickard Hallerbäck committed Dec 15, 2023
1 parent 0012aa7 commit f1afde4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpret.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ interpret_state_t interpret_statements_(void *stmt, PROVIDE_CONTEXT_ARGS(), args
}
} else {
/* Empty the stack */
while (*sc > stackCount) {
while (*sc > stackCount + 1) {
POP_VAL(&sv, sp, sc);
}
}
Expand Down

0 comments on commit f1afde4

Please sign in to comment.