changeset 29960:8aa954de8db9

(resize_mini_window): Subract the extra line spacing below the last line from the needed window height.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 27 Jun 2000 15:35:17 +0000
parents d4e54e70814f
children dec9538dd45b
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Jun 27 10:55:46 2000 +0000
+++ b/src/xdisp.c	Tue Jun 27 15:35:17 2000 +0000
@@ -5779,6 +5779,7 @@
 	    height = it.current_y + last_height;
 	  else
 	    height = it.current_y + it.max_ascent + it.max_descent;
+	  height -= it.extra_line_spacing;
 	  height = (height + unit - 1) / unit;
 	}