From 0fc6b46c4c5f7665ad3f7abac057597d05bf22f3 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 48427aa52..3d45dbe64 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") {