aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-08-21 01:29:26 +0200
committerLars Ingebrigtsen2020-08-21 01:29:32 +0200
commit165fd028d858daee3e08e4308b24e5d497971c77 (patch)
tree634b18a8788610c4cac4b8182707f16a741a9626 /src
parent4c5043c50b52e404c211c18da8cd59a2ee86253d (diff)
downloademacs-165fd028d858daee3e08e4308b24e5d497971c77.tar.gz
emacs-165fd028d858daee3e08e4308b24e5d497971c77.zip
Make image cache lookups work again after previous patch
* src/image.c (search_image_cache): Fix reversed logic in previous patch.
Diffstat (limited to 'src')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index 643b3d0a1f4..123de54ba27 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)
1633 1633
1634 for (img = c->buckets[i]; img; img = img->next) 1634 for (img = c->buckets[i]; img; img = img->next)
1635 if (img->hash == hash 1635 if (img->hash == hash
1636 && !equal_lists (img->spec, spec) 1636 && equal_lists (img->spec, spec)
1637 && img->frame_foreground == FRAME_FOREGROUND_PIXEL (f) 1637 && img->frame_foreground == FRAME_FOREGROUND_PIXEL (f)
1638 && img->frame_background == FRAME_BACKGROUND_PIXEL (f)) 1638 && img->frame_background == FRAME_BACKGROUND_PIXEL (f))
1639 break; 1639 break;