aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorEli Zaretskii2020-01-03 10:19:23 +0200
committerEli Zaretskii2020-01-03 10:19:23 +0200
commit09b65707cc7c4b401c7a4fb817749355b781da1a (patch)
tree520cd491bb460487eb3a540eb98dc0a5889c4a4b /src/dispnew.c
parent37f9182b68c62ee1912cf28d4ea0c30b4f8d59e0 (diff)
downloademacs-09b65707cc7c4b401c7a4fb817749355b781da1a.tar.gz
emacs-09b65707cc7c4b401c7a4fb817749355b781da1a.zip
; * src/dispnew.c (adjust_glyph_matrix): Fix last change.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index ed8c5552e75..9af1ce259d4 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -538,6 +538,7 @@ adjust_glyph_matrix (struct window *w, struct glyph_matrix *matrix, int x, int y
538 /* If we are resizing a window, make sure the previous mode-line 538 /* If we are resizing a window, make sure the previous mode-line
539 row of the window's current matrix is no longer marked as such. */ 539 row of the window's current matrix is no longer marked as such. */
540 if (w && matrix == w->current_matrix 540 if (w && matrix == w->current_matrix
541 && matrix->nrows > 0
541 && dim.height != matrix->nrows 542 && dim.height != matrix->nrows
542 && matrix->nrows <= matrix->rows_allocated) 543 && matrix->nrows <= matrix->rows_allocated)
543 MATRIX_MODE_LINE_ROW (matrix)->mode_line_p = false; 544 MATRIX_MODE_LINE_ROW (matrix)->mode_line_p = false;