changeset 110152:3b368edf4df1

gnus-html-rescale-image: Fix up typo in rescaling.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 02 Sep 2010 14:10:03 +0000
parents 728c823c045f
children b071d3abc3f4
files lisp/gnus/ChangeLog lisp/gnus/gnus-html.el
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Thu Sep 02 14:37:29 2010 +0200
+++ b/lisp/gnus/ChangeLog	Thu Sep 02 14:10:03 2010 +0000
@@ -1,3 +1,7 @@
+2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+	* gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling.
+
 2010-09-02  Katsumi Yamaoka  <yamaoka@jpl.org>
 
 	* gnus-html.el (gnus-article-html): Make work buffer multibyte for
--- a/lisp/gnus/gnus-html.el	Thu Sep 02 14:37:29 2010 +0200
+++ b/lisp/gnus/gnus-html.el	Thu Sep 02 14:10:03 2010 +0000
@@ -280,12 +280,12 @@
       (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 ()