* src/frame.c (gui_set_font): Reference image cache after reassignment.
This commit is contained in:
parent
e6169e9de1
commit
b8affdb7b5
1 changed files with 1 additions and 0 deletions
|
@ -4838,6 +4838,7 @@ gui_set_font (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
|
|||
new image cache with IWIDTH. */
|
||||
FRAME_IMAGE_CACHE (f)->refcount--;
|
||||
FRAME_IMAGE_CACHE (f) = share_image_cache (f);
|
||||
FRAME_IMAGE_CACHE (f)->refcount++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue