ColRecue: Now uses ::renderStringRight

This commit is contained in:
Paul Beckingham 2015-10-31 16:55:00 -04:00
parent 99f6e6d634
commit 5c9f1f7b45

View file

@ -96,18 +96,10 @@ void ColumnRecur::render (
{
if (_style == "default" ||
_style == "duration")
{
lines.push_back (
color.colorize (
rightJustify (
ISO8601p (task.get ("recur")).format (), width)));
}
renderStringRight (lines, width, color, ISO8601p (task.get ("recur")).format ());
else if (_style == "indicator")
{
lines.push_back (
color.colorize (
rightJustify (context.config.get ("recurrence.indicator"), width)));
}
renderStringRight (lines, width, color, context.config.get ("recurrence.indicator"));
}
}