Fix typo
This commit is contained in:
parent
2d8453ed21
commit
fc473c031a
|
@ -367,7 +367,7 @@ calcWidth() {
|
||||||
}
|
}
|
||||||
|
|
||||||
calcHeight() {
|
calcHeight() {
|
||||||
newlines=$(echo -ne | grep -c $'\n')
|
newlines=$(echo -ne "$1" | grep -c $'\n')
|
||||||
height=$(echo "${#1}" "$newlines" | awk '{
|
height=$(echo "${#1}" "$newlines" | awk '{
|
||||||
x = (($1 - $2 + ($2 * 60)) / 60)
|
x = (($1 - $2 + ($2 * 60)) / 60)
|
||||||
printf "%d", (x == int(x)) ? x : int(x) + 1
|
printf "%d", (x == int(x)) ? x : int(x) + 1
|
||||||
|
|
Loading…
Reference in New Issue