summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-11-09 16:26:02 -0500
committerTavian Barnes <tavianator@tavianator.com>2020-11-09 16:26:02 -0500
commit0e80632397f581380441a4165247cd46f4bfcda0 (patch)
tree45fc3b8905fc13f4bae2a32a18b83a96a9538252
parentffa9f8803ef2e0e9ffbfa8169dc6d7d338b14116 (diff)
downloadbfs-0e80632397f581380441a4165247cd46f4bfcda0.tar.xz
Use two newlines for all pre-eval warnings
-rw-r--r--eval.c2
-rw-r--r--opt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 6837e44..6c15503 100644
--- a/eval.c
+++ b/eval.c
@@ -1464,7 +1464,7 @@ int bfs_eval(const struct bfs_ctx *ctx) {
if (ctx->status) {
args.bar = bfs_bar_show();
if (!args.bar) {
- bfs_warning(ctx, "Couldn't show status bar: %m.\n");
+ bfs_warning(ctx, "Couldn't show status bar: %m.\n\n");
}
}
diff --git a/opt.c b/opt.c
index d342406..9876f3d 100644
--- a/opt.c
+++ b/opt.c
@@ -1016,7 +1016,7 @@ int bfs_optimize(struct bfs_ctx *ctx) {
ctx->expr = ignore_result(&state, ctx->expr);
if (facts_are_impossible(&facts_when_impure)) {
- bfs_warning(ctx, "This command won't do anything.\n");
+ bfs_warning(ctx, "This command won't do anything.\n\n");
}
const struct range *depth_when_impure = &facts_when_impure.ranges[DEPTH_RANGE];