- TW-1321 Unit test view.t fails oddly on Ubuntu 13.10 (thanks to John West).
This commit is contained in:
Paul Beckingham 2014-05-11 17:39:44 +00:00
parent 60e29f6f52
commit e6817033d3
3 changed files with 5 additions and 4 deletions

View file

@ -136,8 +136,8 @@ std::string ViewTask::render (std::vector <Task>& data, std::vector <int>& seque
break;
// Determine minimum and ideal width for this column.
unsigned int min;
unsigned int ideal;
unsigned int min = 0;
unsigned int ideal = 0;
(*i)->measure (data[sequence[s]], min, ideal);
if (min > global_min) global_min = min;