summaryrefslogtreecommitdiffstats
path: root/src/color.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-05 14:18:53 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-05 14:18:53 -0500
commitd1e532ed839c1b2be093c88006fcf4cd3d11805d (patch)
tree192167ec829c5dbd4e73bc5abce535127c481343 /src/color.c
parentd6a1b97b0eece42bb18a171ccdfcec7082d5f2d0 (diff)
downloadbfs-d1e532ed839c1b2be093c88006fcf4cd3d11805d.tar.xz
expr: Rename bfs_expr_has_children() to _is_parent()
Diffstat (limited to 'src/color.c')
-rw-r--r--src/color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color.c b/src/color.c
index 94fcac8..8d32c6c 100644
--- a/src/color.c
+++ b/src/color.c
@@ -888,7 +888,7 @@ static int print_expr(CFILE *cfile, const struct bfs_expr *expr, bool verbose) {
const struct bfs_expr *lhs = NULL;
const struct bfs_expr *rhs = NULL;
- if (bfs_expr_has_children(expr)) {
+ if (bfs_expr_is_parent(expr)) {
lhs = expr->lhs;
rhs = expr->rhs;