aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-06-27 15:36:01 +0000
committerGerd Moellmann2000-06-27 15:36:01 +0000
commit3c4b76855958cbfbc1ad1d5069d4f2bc2565922b (patch)
tree15c8217f93555b0cd05a52b4b34330e8cd293af8 /src
parent4fa9f63662512bbf5107aafce22f1c12d292ab03 (diff)
downloademacs-3c4b76855958cbfbc1ad1d5069d4f2bc2565922b.tar.gz
emacs-3c4b76855958cbfbc1ad1d5069d4f2bc2565922b.zip
(resize_mini_window): Subract the extra line spacing
below the last line from the needed window height.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index aab98f2bc90..0f5c2fe21a1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12000-06-27 Gerd Moellmann <gerd@gnu.org>
2
3 * xdisp.c (resize_mini_window): Subract the extra line spacing
4 below the last line from the needed window height.
5
12000-06-26 Stefan Monnier <monnier@cs.yale.edu> 62000-06-26 Stefan Monnier <monnier@cs.yale.edu>
2 7
3 * fns.c (Fplist_member): Renamed from Fwidget_plist_member. 8 * fns.c (Fplist_member): Renamed from Fwidget_plist_member.
diff --git a/src/xdisp.c b/src/xdisp.c
index 7b6eb35fcdc..68942eed1fa 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -5779,6 +5779,7 @@ resize_mini_window (w, exact_p)
5779 height = it.current_y + last_height; 5779 height = it.current_y + last_height;
5780 else 5780 else
5781 height = it.current_y + it.max_ascent + it.max_descent; 5781 height = it.current_y + it.max_ascent + it.max_descent;
5782 height -= it.extra_line_spacing;
5782 height = (height + unit - 1) / unit; 5783 height = (height + unit - 1) / unit;
5783 } 5784 }
5784 5785