From 06c50efa63e56cd6fa9ae81d417d32f32b621f39 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 31 Oct 2015 15:54:35 -0400 Subject: [PATCH] ColUUID: Now uses ::renderStringLeft --- src/columns/ColUUID.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/columns/ColUUID.cpp b/src/columns/ColUUID.cpp index ec71b8885..01a4a17ab 100644 --- a/src/columns/ColUUID.cpp +++ b/src/columns/ColUUID.cpp @@ -66,14 +66,16 @@ void ColumnUUID::render ( int width, Color& color) { + // No need to check the presence of UUID - all tasks have one. + // f30cb9c3-3fc0-483f-bfb2-3bf134f00694 default // f30cb9c3 short if (_style == "default" || _style == "long") - lines.push_back (color.colorize (leftJustify (task.get (_name), width))); + renderStringLeft (lines, width, color, task.get (_name)); else if (_style == "short") - lines.push_back (color.colorize (leftJustify (task.get (_name).substr (0, 8), width))); + renderStringLeft (lines, width, color, task.get (_name).substr (0, 8)); } ////////////////////////////////////////////////////////////////////////////////