summaryrefslogtreecommitdiffstats
path: root/src/color.c
diff options
context:
space:
mode:
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;