mirror of https://github.com/djcb/mu.git
* mu4e-utils: fix display of messages only consisting of an image
This commit is contained in:
parent
beffb8072b
commit
fa6d63af43
|
@ -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)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue