Performance: Only measures the first fixed-width column row

This commit is contained in:
Paul Beckingham 2015-04-05 16:05:43 -04:00
parent a883c5ca41
commit 61e1401073
10 changed files with 49 additions and 17 deletions

View file

@ -120,8 +120,8 @@ void ColumnUDA::measure (Task& task, unsigned int& minimum, unsigned int& maximu
}
else if (_style == "indicator")
{
if (task.has (_name))
minimum = maximum = utf8_width (context.config.get ("uda." + _name + ".indicator"));
minimum = maximum = utf8_width (context.config.get ("uda." + _name + ".indicator"));
_fixed_width = true;
}
else
throw format (STRING_COLUMN_BAD_FORMAT, _name, _style);