summaryrefslogtreecommitdiff
path: root/src/macterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/macterm.c')
-rw-r--r--src/macterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macterm.c b/src/macterm.c
index 2d03c8918c5..842e1844f50 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -12624,7 +12624,7 @@ mac_term_init (display_name, xrm_option, resource_name)
dpyinfo->grabbed = 0;
dpyinfo->root_window = NULL;
- dpyinfo->image_cache = make_image_cache ();
+ dpyinfo->terminal->image_cache = make_image_cache ();
dpyinfo->mouse_face_beg_row = dpyinfo->mouse_face_beg_col = -1;
dpyinfo->mouse_face_end_row = dpyinfo->mouse_face_end_col = -1;