Synch to No Gnus 200405230007.
[elisp/gnus.git-] / lisp / gnus-sum.el
index 4d6c0b1..aa174eb 100644 (file)
@@ -6307,7 +6307,7 @@ displayed, no centering will be performed."
                      ((< (window-height) 7) 1)
                      (t (if (numberp gnus-auto-center-summary)
                             gnus-auto-center-summary
-                          2))))
+                           (/ (1- (window-height)) 2)))))
           (height (1- (window-height)))
           (bottom (save-excursion (goto-char (point-max))
                                   (forward-line (- height))