changeset 28654:1d7862b7e02d

(resize-temp-buffer-window): Use count-screen-lines.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 19 Apr 2000 19:07:29 +0000
parents a67ae6612ddb
children 2ea744c8844a
files lisp/help.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Wed Apr 19 15:38:21 2000 +0000
+++ b/lisp/help.el	Wed Apr 19 19:07:29 2000 +0000
@@ -1338,7 +1338,7 @@
                          temp-buffer-max-height))
            (win-height (1- (window-height)))
            (min-height (1- window-min-height))
-           (text-height (window-buffer-height(selected-window)))
+           (text-height (count-screen-lines))
            (new-height (max (min text-height max-height) min-height)))
       (enlarge-window (- new-height win-height)))))