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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user