Faster math

This commit is contained in:
Dylan Araps
2016-10-01 12:30:59 +10:00
parent 402abf90a8
commit 70fa77b64b
+2 -2
View File
@@ -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))"
} }
# }}} # }}}