From 46b9f1684f60dbc737f4bdcb6ad30de7a418db0c Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Thu, 2 Sep 2010 15:00:18 +0200 Subject: [PATCH] Fix up typo in rescaling. --- lisp/ChangeLog | 4 ++++ lisp/gnus-html.el | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a4a471210..5a7e0930b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-09-02 Lars Magne Ingebrigtsen + + * gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling. + 2010-09-02 Katsumi Yamaoka * gnus-xmas.el (gnus-xmas-create-image): Don't try to examine image diff --git a/lisp/gnus-html.el b/lisp/gnus-html.el index 3948598d5..a503859aa 100644 --- a/lisp/gnus-html.el +++ b/lisp/gnus-html.el @@ -280,12 +280,12 @@ fit these criteria." (when (> height window-height) (setq image (or (create-image file 'imagemagick nil :height window-height) - image)) - (when (> (car (image-size image t)) window-width) - (setq image (or - (create-image file 'imagemagick nil - :width window-width) - image)))) + image))) + (when (> (car (image-size image t)) window-width) + (setq image (or + (create-image file 'imagemagick nil + :width window-width) + image))) image))) (defun gnus-html-prune-cache () -- 2.25.1