From 33d7ea65690beb3277f0a3d92f8dbc000c107ad4 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 31 Dec 2016 11:10:13 -0500 Subject: [PATCH] ColMask: Corrected use of _name --- src/columns/ColMask.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/columns/ColMask.cpp b/src/columns/ColMask.cpp index 8bbcb2a9c..0ac3fe705 100644 --- a/src/columns/ColMask.cpp +++ b/src/columns/ColMask.cpp @@ -47,7 +47,7 @@ void ColumnMask::measure (Task& task, unsigned int& minimum, unsigned int& maxim minimum = maximum = 0; if (task.has (_name)) { - minimum = maximum = task.get ("mask").length (); + minimum = maximum = task.get (_name).length (); if (_style != "default") throw format (STRING_COLUMN_BAD_FORMAT, _name, _style); @@ -62,7 +62,7 @@ void ColumnMask::render ( Color& color) { if (task.has (_name)) - renderStringLeft (lines, width, color, task.get ("mask")); + renderStringLeft (lines, width, color, task.get (_name)); } ////////////////////////////////////////////////////////////////////////////////