* xdisp.c (resize_mini_window): Round height to a multiple of
frame's line height. Fix bug in calculation of window start
position (Bug#16424).
+2014-01-13 Martin Rudalics <rudalics@gmx.at>
+
+ * xdisp.c (resize_mini_window): Round height to a multiple of
+ frame's line height. Fix bug in calculation of window start
+ position (Bug#16424).
+
2014-01-13 Jan Djärv <jan.h.d@swipnet.se>
* macfont.m: Include termchar.h.
/* Compute a suitable window start. */
if (height > max_height)
{
- height = max_height;
+ height = (max_height / unit) * unit;
init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID);
- move_it_vertically_backward (&it, height);
+ move_it_vertically_backward (&it, height - unit);
start = it.current.pos;
}
else