mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug
- Fixed bug that miscalculated terminal width for the ghistory.annual report.
This commit is contained in:
parent
14508742f1
commit
d7c446f010
2 changed files with 4 additions and 1 deletions
|
@ -49,6 +49,8 @@
|
||||||
versions earlier than 1.9.1 to those created by 1.9.1 or later (thanks to
|
versions earlier than 1.9.1 to those created by 1.9.1 or later (thanks to
|
||||||
Ivo Jimenez).
|
Ivo Jimenez).
|
||||||
+ Fixed bug that prevented 'task list priority.above:L' from working.
|
+ Fixed bug that prevented 'task list priority.above:L' from working.
|
||||||
|
+ Fixed bug that miscalculated terminal width for the ghistory.annual
|
||||||
|
report.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|
|
@ -1028,6 +1028,7 @@ int handleReportHistoryMonthly (std::string &outs)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int handleReportHistoryAnnual (std::string &outs)
|
int handleReportHistoryAnnual (std::string &outs)
|
||||||
{
|
{
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
@ -1457,7 +1458,7 @@ int handleReportGHistoryAnnual (std::string &outs)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int widthOfBar = context.getWidth () - 15; // 15 == strlen ("2008 September ")
|
int widthOfBar = context.getWidth () - 5; // 5 == strlen ("2008 ")
|
||||||
|
|
||||||
// Now build the table.
|
// Now build the table.
|
||||||
Table table;
|
Table table;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue