From fa6d63af431b3c6b7f6390ccbac35aff0efbc238 Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 11 Aug 2013 15:28:30 +0300 Subject: [PATCH] * mu4e-utils: fix display of messages only consisting of an image --- mu4e/mu4e-utils.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-utils.el b/mu4e/mu4e-utils.el index 23bec4ec..1e1c6678 100644 --- a/mu4e/mu4e-utils.el +++ b/mu4e/mu4e-utils.el @@ -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)))))