ColIMask: Corrected use of _name

This commit is contained in:
Paul Beckingham 2016-12-31 11:09:54 -05:00
parent 3c9081c22b
commit b3e976fbaa

View file

@ -48,7 +48,7 @@ void ColumnIMask::measure (Task& task, unsigned int& minimum, unsigned int& maxi
if (task.has (_name))
{
minimum = maximum = task.get ("imask").length ();
minimum = maximum = task.get (_name).length ();
if (_style != "default" &&
_style != "number")
@ -64,7 +64,7 @@ void ColumnIMask::render (
Color& color)
{
if (task.has (_name))
renderStringRight (lines, width, color, task.get ("imask"));
renderStringRight (lines, width, color, task.get (_name));
}
////////////////////////////////////////////////////////////////////////////////