diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-08-13 10:12:25 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-13 10:12:25 -0400 |
commit | 50dd5af226853d8d7201c7478d13f773cfd1479e (patch) | |
tree | c1cf681542bb0aece4e7b891ceb4422571b81e48 /src/parse.c | |
parent | 337aa27ecdafb27f80db79ffb1110d91fdd5a4ef (diff) | |
download | bfs-50dd5af226853d8d7201c7478d13f773cfd1479e.tar.xz |
Default to no for "Do you want to continue?" prompts
Diffstat (limited to 'src/parse.c')
-rw-r--r-- | src/parse.c | 2 |
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; } } |