From d0d9bd2286ec43ddc1a192e5e3fb742a3d960d53 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 7 Jun 2019 00:41:15 -0500 Subject: [PATCH] colortest: Small optimization --- colortest | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/colortest b/colortest index c475cbe..a7417b7 100755 --- a/colortest +++ b/colortest @@ -25,8 +25,7 @@ printc() { # $1: Heading printh() { [ -z "$1" ] && return 1 - printf "$padding%${teststringlen}s$padding" "$1" - printf "$spacer" + printf "$padding%${teststringlen}s$padding$spacer" "$1" } println() { printf "\\n"