summaryrefslogtreecommitdiffstats
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index c890fa8..e0754eb 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -3546,7 +3546,7 @@ static struct bfs_expr *parse_whole_expr(struct bfs_parser *parser) {
if (ctx->interactive) {
bfs_warning(ctx, "Do you want to continue? ");
- if (ynprompt() == 0) {
+ if (ynprompt() <= 0) {
return NULL;
}
}