ColRecur: Removed redundant code

This commit is contained in:
Paul Beckingham 2016-12-31 11:47:10 -05:00
parent 110db6bb91
commit b6d19ce1ad

View file

@ -78,10 +78,7 @@ 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"));
else
minimum = maximum = 0;
minimum = maximum = utf8_width (context.config.get ("recurrence.indicator"));
}
else
throw format (STRING_COLUMN_BAD_FORMAT, _name, _style);