emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 537e96f 2/2: Fix image cache lookup


From: Alan Third
Subject: master 537e96f 2/2: Fix image cache lookup
Date: Sun, 20 Dec 2020 16:34:25 -0500 (EST)

branch: master
commit 537e96f6ac58099d3f422eac9d78d54716aeb014
Author: Alan Third <alan@idiocy.org>
Commit: Alan Third <alan@idiocy.org>

    Fix image cache lookup
    
    * src/image.c (lookup_image): ignore_colors should be false as we want
    to search for images with matching colors.
---
 src/image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/image.c b/src/image.c
index d0ae44e..29cd189 100644
--- 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, true);
+  img = search_image_cache (f, spec, hash, foreground, background, false);
   if (img && img->load_failed_p)
     {
       free_image (f, img);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]