mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
ColIMask: Corrected use of _name
This commit is contained in:
parent
3c9081c22b
commit
b3e976fbaa
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ void ColumnIMask::measure (Task& task, unsigned int& minimum, unsigned int& maxi
|
||||||
|
|
||||||
if (task.has (_name))
|
if (task.has (_name))
|
||||||
{
|
{
|
||||||
minimum = maximum = task.get ("imask").length ();
|
minimum = maximum = task.get (_name).length ();
|
||||||
|
|
||||||
if (_style != "default" &&
|
if (_style != "default" &&
|
||||||
_style != "number")
|
_style != "number")
|
||||||
|
@ -64,7 +64,7 @@ void ColumnIMask::render (
|
||||||
Color& color)
|
Color& color)
|
||||||
{
|
{
|
||||||
if (task.has (_name))
|
if (task.has (_name))
|
||||||
renderStringRight (lines, width, color, task.get ("imask"));
|
renderStringRight (lines, width, color, task.get (_name));
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue