Only look for w3m path if we're in image mode

This commit is contained in:
Dylan 2016-02-01 08:48:44 +11:00
parent cec40577bf
commit bc53d2eafe
1 changed files with 3 additions and 1 deletions

4
fetch
View File

@ -2116,7 +2116,9 @@ if [ "$image" != "off" ]; then
clear
# Find w3mimgdisplay
[ "$image_backend" == "w3m" ] && getw3m_img_path
[ "$image_backend" == "w3m" ] && \
[ "$image" != "ascii" ] && \
getw3m_img_path
# Get the image
getimage