mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
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:
parent
5a39af1372
commit
65421dcac7
@ -13,10 +13,8 @@ do_view_action() {
|
|||||||
|
|
||||||
case "${filetype}" in
|
case "${filetype}" in
|
||||||
jpeg)
|
jpeg)
|
||||||
which exif >/dev/null 2>&1 && \
|
identify "${MC_EXT_FILENAME}"
|
||||||
{
|
which exif >/dev/null 2>&1 && exif "${MC_EXT_FILENAME}" 2>/dev/null
|
||||||
identify "${MC_EXT_FILENAME}"; exif "${MC_EXT_FILENAME}" 2>/dev/null
|
|
||||||
}
|
|
||||||
;;
|
;;
|
||||||
xpm)
|
xpm)
|
||||||
sxpm "${MC_EXT_FILENAME}"
|
sxpm "${MC_EXT_FILENAME}"
|
||||||
|
Loading…
Reference in New Issue
Block a user