Image: Fix bug when backend renderer isn't found

This commit is contained in:
Dylan Araps 2017-01-15 00:22:55 +11:00
parent 853bd8c941
commit 87cc686070
1 changed files with 2 additions and 2 deletions

View File

@ -1976,7 +1976,7 @@ image_backend() {
get_image_size
make_thumbnail
display_image
display_image 2>/dev/null
;;
*)
@ -4019,7 +4019,7 @@ main() {
# w3m-img: Draw the image a second time to fix
# rendering issues in specific terminal emulators.
[[ "$image_program" == *w3m* ]] && display_image
[[ "$image_program" == *w3m* ]] && display_image 2>/dev/null
# Take a screenshot.
[[ "$scrot" == "on" ]] && take_scrot