From 70fa77b64be04e275ddaec1355537603ac526eb1 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 1 Oct 2016 12:30:59 +1000 Subject: [PATCH] Faster math --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 200cdf08..0ebaa591 100755 --- a/neofetch +++ b/neofetch @@ -2329,7 +2329,7 @@ info() { printf "%b%s\n" "${padding}${string}${reset}" # Calculate info height - info_height="$((info_height + 1))" + info_height="$((info_height+=1))" } # }}} @@ -2364,7 +2364,7 @@ prin() { printf "%b%s\n" "${padding}${string}${reset}" # Calculate info height - info_height="$((info_height + 1))" + info_height="$((info_height+=1))" } # }}}