From fc08e8cdcd282df8341d918d4198e3a37f0fd200 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 10 Aug 2025 12:03:03 -0700 Subject: charts: fix subtle --no-threads bug from 35f42dbe7 Commit 35f42dbe7 implemented --no-threads but suppressing this branch in draw_tree_row() when --no-threads is active. --- src/charts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/charts.c b/src/charts.c index 5d52d0d..5510121 100644 --- a/src/charts.c +++ b/src/charts.c @@ -583,7 +583,7 @@ static void draw_tree_row(vwm_charts_t *charts, vwm_chart_t *chart, int x, int d } /* if we still don't think we need a tee, check if there are threads */ - if (!needs_tee) { + if (!needs_tee && !charts->no_threads) { list_for_each_entry(child, &sibling->threads, threads) { if (!child->is_stale) { needs_tee = 1; -- cgit v1.2.3