projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f9182
)
; * src/dispnew.c (adjust_glyph_matrix): Fix last change.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 3 Jan 2020 08:19:23 +0000
(10:19 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 3 Jan 2020 08:19:23 +0000
(10:19 +0200)
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index ed8c5552e75aaba2ca611c7dff7f590b2faf9c1d..9af1ce259d4ca5c29282a3271c857307f6edd4c9 100644
(file)
--- 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;