Info: Remove useless blocks

This commit is contained in:
Dylan Araps 2016-12-13 19:09:26 +11:00
parent 901136e1af
commit bfa1ce6cd9
1 changed files with 0 additions and 12 deletions

View File

@ -2481,12 +2481,6 @@ info() {
# Calculate info height
info_height="$((info_height+=1))"
# Fix rendering issues with w3m and lines that
# wrap to the next line by adding a max line
# length.
[[ "$image_backend" == "image" ]] && \
string="$(printf "%.$((columns - text_padding - gap))s" "$string")"
}
prin() {
@ -2508,12 +2502,6 @@ prin() {
# Calculate info height
info_height="$((info_height+=1))"
# Fix rendering issues with w3m and lines that
# wrap to the next line by adding a max line
# length.
[[ "$image_backend" == "image" ]] && \
string="$(printf "%.$((columns - text_padding - gap))s" "$string")"
# Tell info() that prin() was used.
prin=1
}