mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Code style: add curly braces
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
4f8a04e4ca
commit
44bd1dee31
1 changed files with 4 additions and 0 deletions
|
@ -145,7 +145,9 @@ int CmdSummary (
|
|||
{
|
||||
// Make sure the track only represents one day.
|
||||
if ((track.is_open () && day > now))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
row = table.addRow ();
|
||||
|
||||
|
@ -184,7 +186,9 @@ int CmdSummary (
|
|||
auto annotation = track.getAnnotation ();
|
||||
|
||||
if (annotation.length () > 15)
|
||||
{
|
||||
annotation = annotation.substr (0, 12) + "...";
|
||||
}
|
||||
|
||||
table.set (row, 4 + (show_ids ? 1 : 0), annotation);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue