Fix typo in 'window_box_height'

* src/xdisp.c (window_box_height): Add missing 'else'.
This commit is contained in:
Martin Rudalics 2020-01-04 09:43:13 +01:00
parent e1b3fd3beb
commit 076dd1f69a

View file

@ -1136,6 +1136,7 @@ window_box_height (struct window *w)
{
if (w->header_line_height >= 0)
height -= w->header_line_height;
else
{
struct glyph_row *hl_row
= (w->current_matrix && w->current_matrix->rows