mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 06:37:20 +02:00
TDB2: Fix wrong comment
This commit is contained in:
parent
3e65c3af5e
commit
181f098958
1 changed files with 1 additions and 1 deletions
|
@ -1408,7 +1408,7 @@ const std::vector <Task> TDB2::children (Task& task)
|
||||||
if (i.getStatus () != Task::completed &&
|
if (i.getStatus () != Task::completed &&
|
||||||
i.getStatus () != Task::deleted)
|
i.getStatus () != Task::deleted)
|
||||||
{
|
{
|
||||||
// If task has the same parent, it is a sibling.
|
// If task has the given task as a parent, it is a child task.
|
||||||
if (i.get ("parent") == parent)
|
if (i.get ("parent") == parent)
|
||||||
results.push_back (i);
|
results.push_back (i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue