Ticket #3568: fix image view info for JPEG files

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
Andreas Mohr 2015-12-31 15:15:12 +00:00 committed by Yury V. Zaytsev
parent 5a39af1372
commit 65421dcac7

View File

@ -13,10 +13,8 @@ do_view_action() {
case "${filetype}" in
jpeg)
which exif >/dev/null 2>&1 && \
{
identify "${MC_EXT_FILENAME}"; exif "${MC_EXT_FILENAME}" 2>/dev/null
}
identify "${MC_EXT_FILENAME}"
which exif >/dev/null 2>&1 && exif "${MC_EXT_FILENAME}" 2>/dev/null
;;
xpm)
sxpm "${MC_EXT_FILENAME}"