projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9b488
)
Fix image cache lookup
author
Alan Third
<alan@idiocy.org>
Sun, 20 Dec 2020 16:03:52 +0000
(16:03 +0000)
committer
Alan Third
<alan@idiocy.org>
Sun, 20 Dec 2020 21:29:16 +0000
(21:29 +0000)
* src/image.c (lookup_image): ignore_colors should be false as we want
to search for images with matching colors.
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index d0ae44e7df7e69c051add0bf8ba0195eea8fc84f..29cd189f177b4a4d1c7840154f4ae8d6d676c68b 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-2414,7
+2414,7
@@
lookup_image (struct frame *f, Lisp_Object spec, int face_id)
/* Look up SPEC in the hash table of the image cache. */
hash = sxhash (spec);
- img = search_image_cache (f, spec, hash, foreground, background,
tru
e);
+ img = search_image_cache (f, spec, hash, foreground, background,
fals
e);
if (img && img->load_failed_p)
{
free_image (f, img);