Refuse to display 30x30 images, not all 30xwhatever images.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 29 Aug 2010 17:27:44 +0000 (19:27 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 29 Aug 2010 17:27:44 +0000 (19:27 +0200)
lisp/gnus-html.el

index c8aec16..a559679 100644 (file)
             ;; Kludge to avoid displaying 30x30 gif images, which
             ;; seems to be a signal of a broken image.
             (not (and (eq (getf (cdr image) :type) 'gif)
-                      (= (car (image-size image t)) 30))))
+                      (= (car (image-size image t)) 30)
+                      (= (cdr (image-size image t)) 30))))
        (progn
          (put-image image point)
          t)