mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-22 11:13:09 +02:00
ColRecur: Removed redundant code
This commit is contained in:
parent
f4b2589149
commit
e18b4b2063
1 changed files with 1 additions and 4 deletions
|
@ -78,10 +78,7 @@ void ColumnRecur::measure (Task& task, unsigned int& minimum, unsigned int& maxi
|
||||||
}
|
}
|
||||||
else if (_style == "indicator")
|
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"));
|
|
||||||
else
|
|
||||||
minimum = maximum = 0;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw format (STRING_COLUMN_BAD_FORMAT, _name, _style);
|
throw format (STRING_COLUMN_BAD_FORMAT, _name, _style);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue