From: Lars Magne Ingebrigtsen Date: Thu, 2 Sep 2010 13:00:18 +0000 (+0200) Subject: Fix up typo in rescaling. X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=46b9f1684f60dbc737f4bdcb6ad30de7a418db0c Fix up typo in rescaling. --- 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 ()