summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/alloc.c b/src/alloc.c
index d9652a90e01..72e910f8faa 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5590,11 +5590,11 @@ mark_object (arg)
register struct frame *ptr = XFRAME (obj);
if (mark_vectorlike (XVECTOR (obj)))
{
- mark_face_cache (ptr->face_cache);
+ mark_face_cache (ptr->face_cache);
#ifdef HAVE_WINDOW_SYSTEM
- mark_image_cache (ptr);
+ mark_image_cache (ptr);
#endif /* HAVE_WINDOW_SYSTEM */
- }
+ }
}
else if (GC_WINDOWP (obj))
{
@@ -5602,15 +5602,16 @@ mark_object (arg)
struct window *w = XWINDOW (obj);
if (mark_vectorlike (ptr))
{
- /* Mark glyphs for leaf windows. Marking window matrices is
- sufficient because frame matrices use the same glyph
- memory. */
+ /* Mark glyphs for leaf windows. Marking window matrices is
+ sufficient because frame matrices use the same glyph
+ memory. */
if (NILP (w->hchild)
&& NILP (w->vchild)
&& w->current_matrix)
{
mark_glyph_matrix (w->current_matrix);
- mark_glyph_matrix (w->desired_matrix);
+ mark_glyph_matrix (w->desired_matrix);
+ }
}
}
else if (GC_HASH_TABLE_P (obj))