[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 165fd02: Make image cache lookups work again after previous patch
From: |
Lars Ingebrigtsen |
Subject: |
master 165fd02: Make image cache lookups work again after previous patch |
Date: |
Thu, 20 Aug 2020 19:29:38 -0400 (EDT) |
branch: master
commit 165fd028d858daee3e08e4308b24e5d497971c77
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Make image cache lookups work again after previous patch
* src/image.c (search_image_cache): Fix reversed logic in previous
patch.
---
src/image.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/image.c b/src/image.c
index 643b3d0..123de54 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1633,7 +1633,7 @@ search_image_cache (struct frame *f, Lisp_Object spec,
EMACS_UINT hash)
for (img = c->buckets[i]; img; img = img->next)
if (img->hash == hash
- && !equal_lists (img->spec, spec)
+ && equal_lists (img->spec, spec)
&& img->frame_foreground == FRAME_FOREGROUND_PIXEL (f)
&& img->frame_background == FRAME_BACKGROUND_PIXEL (f))
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 165fd02: Make image cache lookups work again after previous patch,
Lars Ingebrigtsen <=