gnus-html-rescale-image: Use window-inside-pixel-edges rather than window-pixel-edges
[gnus] / lisp / gnus-html.el
index d91db08..c90d7c4 100644 (file)
@@ -432,7 +432,7 @@ Return a string with image data."
       image
     (let* ((width (car size))
           (height (cdr size))
-          (edges (window-pixel-edges (get-buffer-window (current-buffer))))
+          (edges (window-inside-pixel-edges (get-buffer-window (current-buffer))))
           (window-width (truncate (* gnus-max-image-proportion
                                      (- (nth 2 edges) (nth 0 edges)))))
           (window-height (truncate (* gnus-max-image-proportion