mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TDB2: Fix wrong comment
This commit is contained in:
parent
56a897511f
commit
4465b48f75
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