diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index ea833c62b94..0a7950273f6 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5810,14 +5810,13 @@ mark_object (Lisp_Object arg) | |||
| 5810 | case PVEC_WINDOW: | 5810 | case PVEC_WINDOW: |
| 5811 | { | 5811 | { |
| 5812 | struct window *w = (struct window *) ptr; | 5812 | struct window *w = (struct window *) ptr; |
| 5813 | bool leaf = NILP (w->hchild) && NILP (w->vchild); | ||
| 5814 | 5813 | ||
| 5815 | mark_vectorlike (ptr); | 5814 | mark_vectorlike (ptr); |
| 5816 | 5815 | ||
| 5817 | /* Mark glyphs for leaf windows. Marking window | 5816 | /* Mark glyph matrices, if any. Marking window |
| 5818 | matrices is sufficient because frame matrices | 5817 | matrices is sufficient because frame matrices |
| 5819 | use the same glyph memory. */ | 5818 | use the same glyph memory. */ |
| 5820 | if (leaf && w->current_matrix) | 5819 | if (w->current_matrix) |
| 5821 | { | 5820 | { |
| 5822 | mark_glyph_matrix (w->current_matrix); | 5821 | mark_glyph_matrix (w->current_matrix); |
| 5823 | mark_glyph_matrix (w->desired_matrix); | 5822 | mark_glyph_matrix (w->desired_matrix); |