Make image cache lookups work again after previous patch
* src/image.c (search_image_cache): Fix reversed logic in previous patch.
This commit is contained in:
parent
4c5043c50b
commit
165fd028d8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue