mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-10 13:10:37 +02:00
Bug
- Shortcut for counting backlog transactions was wrong.
This commit is contained in:
parent
14d3fd00e3
commit
907862b741
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ int CmdStats::execute (std::string& output)
|
||||||
std::vector <std::string> backlogTxns = context.tdb2.backlog.get_lines ();
|
std::vector <std::string> backlogTxns = context.tdb2.backlog.get_lines ();
|
||||||
int backlogCount = 0;
|
int backlogCount = 0;
|
||||||
for (tx = backlogTxns.begin (); tx != backlogTxns.end (); ++tx)
|
for (tx = backlogTxns.begin (); tx != backlogTxns.end (); ++tx)
|
||||||
if ((*tx)[0] == '[')
|
if ((*tx)[0] == '{')
|
||||||
++backlogCount;
|
++backlogCount;
|
||||||
|
|
||||||
// Get all the tasks.
|
// Get all the tasks.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue