TW-1321
- TW-1321 Unit test view.t fails oddly on Ubuntu 13.10 (thanks to John West).
This commit is contained in:
@@ -56,6 +56,7 @@
|
|||||||
to Onion).
|
to Onion).
|
||||||
- TW-1320 Provide output of malformed row if invalid Taskwarrior file format
|
- TW-1320 Provide output of malformed row if invalid Taskwarrior file format
|
||||||
(thanks to Kosta Harlan).
|
(thanks to Kosta Harlan).
|
||||||
|
- TW-1321 Unit test view.t fails oddly on Ubuntu 13.10 (thanks to John West).
|
||||||
- Removed deprecated 'echo.command' setting, in favor of the 'header' and
|
- Removed deprecated 'echo.command' setting, in favor of the 'header' and
|
||||||
'affected' verbosity tokens.
|
'affected' verbosity tokens.
|
||||||
- Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity
|
- Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity
|
||||||
|
|||||||
@@ -136,8 +136,8 @@ std::string ViewTask::render (std::vector <Task>& data, std::vector <int>& seque
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
// Determine minimum and ideal width for this column.
|
// Determine minimum and ideal width for this column.
|
||||||
unsigned int min;
|
unsigned int min = 0;
|
||||||
unsigned int ideal;
|
unsigned int ideal = 0;
|
||||||
(*i)->measure (data[sequence[s]], min, ideal);
|
(*i)->measure (data[sequence[s]], min, ideal);
|
||||||
|
|
||||||
if (min > global_min) global_min = min;
|
if (min > global_min) global_min = min;
|
||||||
|
|||||||
@@ -126,8 +126,8 @@ std::string ViewText::render ()
|
|||||||
for (unsigned int row = 0; row < _data.size (); ++row)
|
for (unsigned int row = 0; row < _data.size (); ++row)
|
||||||
{
|
{
|
||||||
// Determine minimum and ideal width for this column.
|
// Determine minimum and ideal width for this column.
|
||||||
unsigned int min;
|
unsigned int min = 0;
|
||||||
unsigned int ideal;
|
unsigned int ideal = 0;
|
||||||
_columns[col]->measure (_data[row][col], min, ideal);
|
_columns[col]->measure (_data[row][col], min, ideal);
|
||||||
|
|
||||||
if (min > global_min) global_min = min;
|
if (min > global_min) global_min = min;
|
||||||
|
|||||||
Reference in New Issue
Block a user