diff --git a/interpreters/bas/statement.c b/interpreters/bas/statement.c index eceaad8ca..f7b2b7e17 100644 --- a/interpreters/bas/statement.c +++ b/interpreters/bas/statement.c @@ -1239,7 +1239,7 @@ struct Value *stmt_EDIT(struct Value *value) { /* Wait for the editor to complete */ - while (waitpid((pid, &status, 0) < 0 && errno != EINTR); + while (waitpid(pid, &status, 0) < 0 && errno != EINTR); } }