Faster math
This commit is contained in:
parent
402abf90a8
commit
70fa77b64b
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -2329,7 +2329,7 @@ info() {
|
||||||
printf "%b%s\n" "${padding}${string}${reset}"
|
printf "%b%s\n" "${padding}${string}${reset}"
|
||||||
|
|
||||||
# Calculate info height
|
# 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}"
|
printf "%b%s\n" "${padding}${string}${reset}"
|
||||||
|
|
||||||
# Calculate info height
|
# Calculate info height
|
||||||
info_height="$((info_height + 1))"
|
info_height="$((info_height+=1))"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in a new issue