Fix up typo in rescaling.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 2 Sep 2010 13:00:18 +0000 (15:00 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 2 Sep 2010 13:00:18 +0000 (15:00 +0200)
lisp/ChangeLog
lisp/gnus-html.el

index a4a4712..5a7e093 100644 (file)
@@ -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-xmas.el (gnus-xmas-create-image): Don't try to examine image
index 3948598..a503859 100644 (file)
@@ -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 ()