mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW-1321
- TW-1321 Unit test view.t fails oddly on Ubuntu 13.10 (thanks to John West).
This commit is contained in:
parent
60e29f6f52
commit
e6817033d3
3 changed files with 5 additions and 4 deletions
|
@ -126,8 +126,8 @@ std::string ViewText::render ()
|
|||
for (unsigned int row = 0; row < _data.size (); ++row)
|
||||
{
|
||||
// Determine minimum and ideal width for this column.
|
||||
unsigned int min;
|
||||
unsigned int ideal;
|
||||
unsigned int min = 0;
|
||||
unsigned int ideal = 0;
|
||||
_columns[col]->measure (_data[row][col], min, ideal);
|
||||
|
||||
if (min > global_min) global_min = min;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue