SummaryColors: Fix formatting

Signed-off-by: Lim Ding Wen <limdingwen@gmail.com>
This commit is contained in:
Lim Ding Wen 2021-11-11 10:46:13 +08:00 committed by Thomas Lauf
parent 026ef7268f
commit 82b7e5537d

View file

@ -75,7 +75,7 @@ int CmdSummary (
}
// Map tags to colors.
Color colorID (rules.getBoolean("color") ? rules.get ("theme.colors.ids") : "");
Color colorID (rules.getBoolean ("color") ? rules.get ("theme.colors.ids") : "");
auto ids = findHint (cli, ":ids");
auto show_annotation = findHint (cli, ":annotations");
@ -153,7 +153,7 @@ int CmdSummary (
table.set (row, 3, format ("@{1}", track.id), colorID);
}
table.set (row, (ids ? 4 : 3), tags, summaryIntervalColor(rules, track.tags()));
table.set (row, (ids ? 4 : 3), tags, summaryIntervalColor (rules, track.tags ()));
if (show_annotation)
{