Image: Remove unneeded check

This commit is contained in:
Dylan Araps 2017-01-18 17:00:01 +11:00
parent 79afc7eb84
commit 3b29a9b736

View file

@ -1954,9 +1954,6 @@ image_backend() {
image_backend="ascii" image_backend="ascii"
err "Image: Imagemagick not found, falling back to ascii mode." err "Image: Imagemagick not found, falling back to ascii mode."
fi fi
# If X isn't running force ascii mode here.
[[ -z "$DISPLAY" ]] && image_backend="ascii"
fi fi
case "${image_backend:-off}" in case "${image_backend:-off}" in