projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6169e9
)
* src/frame.c (gui_set_font): Reference image cache after reassignment.
author
Po Lu
<luangruo@yahoo.com>
Thu, 20 Jun 2024 09:20:10 +0000
(17:20 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 20 Jun 2024 09:20:23 +0000
(17:20 +0800)
src/frame.c
patch
|
blob
|
history
diff --git
a/src/frame.c
b/src/frame.c
index cf894db68368f79372586ac9204ff4f2d69b1e83..7f4bf274ad99ba61ee0a79d3632687719a28509e 100644
(file)
--- a/
src/frame.c
+++ b/
src/frame.c
@@
-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++;
}
}