Avoid rare assertion violations when deleting a frame
* src/dispnew.c (adjust_frame_glyphs): Allow nrows = 0 when deleting a frame. (Bug#71475)
This commit is contained in:
parent
2ac85aa613
commit
7c97d05b56
1 changed files with 1 additions and 0 deletions
|
@ -1851,6 +1851,7 @@ adjust_frame_glyphs (struct frame *f)
|
|||
eassert (FRAME_INITIAL_P (f)
|
||||
|| noninteractive
|
||||
|| !initialized
|
||||
|| !f->terminal->name /* frame is being deleted */
|
||||
|| (f->current_matrix
|
||||
&& f->current_matrix->nrows > 0
|
||||
&& f->current_matrix->rows
|
||||
|
|
Loading…
Add table
Reference in a new issue