Skip to content

Commit

Permalink
SummaryColors: Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Lim Ding Wen <[email protected]>
  • Loading branch information
limdingwen authored and lauft committed Nov 12, 2021
1 parent 026ef72 commit 82b7e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/CmdSummary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 82b7e55

Please sign in to comment.