mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Trivial: Fix indentation in getIntervalsById
Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
parent
939491d060
commit
3e5aa0d7ec
1 changed files with 9 additions and 9 deletions
18
src/data.cpp
18
src/data.cpp
|
@ -175,16 +175,16 @@ std::vector <Interval> getIntervalsByIds (
|
|||
auto exclusions = getAllExclusions (rules, {latest.start, Datetime ()});
|
||||
if (! exclusions.empty ())
|
||||
{
|
||||
// We're converting the latest interval into synthetic intervals so we need to skip it
|
||||
++it;
|
||||
// We're converting the latest interval into synthetic intervals so we need to skip it
|
||||
++it;
|
||||
|
||||
for (auto& interval : flatten (latest, exclusions))
|
||||
{
|
||||
++current_id;
|
||||
interval.synthetic = true;
|
||||
interval.id = current_id;
|
||||
synthetic.push_front (interval);
|
||||
}
|
||||
for (auto& interval : flatten (latest, exclusions))
|
||||
{
|
||||
++current_id;
|
||||
interval.synthetic = true;
|
||||
interval.id = current_id;
|
||||
synthetic.push_front (interval);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue