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

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