diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2025-08-10 12:03:03 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2025-09-11 21:21:47 -0700 |
commit | fc08e8cdcd282df8341d918d4198e3a37f0fd200 (patch) | |
tree | f9009f2d2a97b6446214f816bfbcb1fc2dcff81c | |
parent | 733fa3c2722a2c59d3e5a27b8becf19a86caf302 (diff) |
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.
-rw-r--r-- | src/charts.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |