aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-25 11:00:38 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-25 11:00:38 +0300
commitf2d4f3eb5e51f2040e17bdd236a8bb563a1ed79b (patch)
tree273aa259a66874c3e233f03e014b271798dfc189
parentb744122e0dc69fb618f8afae8e6f66337102990f (diff)
downloadpfetch-f2d4f3eb5e51f2040e17bdd236a8bb563a1ed79b.tar.gz
misc: cleanup
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index 1809875..702af2e 100755
--- a/pfetch
+++ b/pfetch
@@ -807,7 +807,7 @@ get_ascii() {
# The " " acts as the padding between the ascii art and the text as
# it appends 3 spaces to the end of each line.
while read -r line; do
- ascii_height=$((ascii_height + 1))
+ : $((ascii_height+=1))
ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width))
# Using '<<-EOF' is the only way to loop over a command's