From 78ff1975b289ab4da743499d974ca693ec046f19 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 31 Dec 2016 11:47:34 -0500 Subject: [PATCH] ColTags: Removed redundant code --- src/columns/ColTags.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/columns/ColTags.cpp b/src/columns/ColTags.cpp index ce79a0c2b..246c7ee3b 100644 --- a/src/columns/ColTags.cpp +++ b/src/columns/ColTags.cpp @@ -80,10 +80,7 @@ void ColumnTags::measure (Task& task, unsigned int& minimum, unsigned int& maxim { if (_style == "indicator") { - if (task.has (_name)) - minimum = maximum = utf8_width (context.config.get ("tag.indicator")); - else - minimum = maximum = 0; + minimum = maximum = utf8_width (context.config.get ("tag.indicator")); } else if (_style == "count") {