emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 09b6570: ; * src/dispnew.c (adjust_glyph_matrix): Fix last chan


From: Eli Zaretskii
Subject: emacs-27 09b6570: ; * src/dispnew.c (adjust_glyph_matrix): Fix last change.
Date: Fri, 3 Jan 2020 03:19:46 -0500 (EST)

branch: emacs-27
commit 09b65707cc7c4b401c7a4fb817749355b781da1a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * src/dispnew.c (adjust_glyph_matrix): Fix last change.
---
 src/dispnew.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dispnew.c b/src/dispnew.c
index ed8c555..9af1ce2 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
       /* If we are resizing a window, make sure the previous mode-line
         row of the window's current matrix is no longer marked as such.  */
       if (w && matrix == w->current_matrix
+         && matrix->nrows > 0
          && dim.height != matrix->nrows
          && matrix->nrows <= matrix->rows_allocated)
        MATRIX_MODE_LINE_ROW (matrix)->mode_line_p = false;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]