* mu4e-utils: fix display of messages only consisting of an image

This commit is contained in:
djcb 2013-08-11 15:28:30 +03:00
parent beffb8072b
commit fa6d63af43
1 changed files with 1 additions and 1 deletions

View File

@ -968,7 +968,7 @@ and MAXHEIGHT are ignored."
(let ((size (image-size img))) ;; inspired by gnus..
(insert-char ?\n
(max 0 (round (- (window-height) (or maxheight (cdr size)) 1) 2)))
(insert-char ?\
(insert-char ?\
(max 0 (round (- (window-width) (or maxwidth (car size))) 2)))
(insert-image img)))))