diff options
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index 5fe0d713e1b..b4ce08eeb3c 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -1616,7 +1616,7 @@ search_image_cache (struct frame *f, Lisp_Object spec, EMACS_UINT hash) | |||
| 1616 | static void | 1616 | static void |
| 1617 | uncache_image (struct frame *f, Lisp_Object spec) | 1617 | uncache_image (struct frame *f, Lisp_Object spec) |
| 1618 | { | 1618 | { |
| 1619 | struct image *img = search_image_cache (f, spec, sxhash (spec, 0)); | 1619 | struct image *img = search_image_cache (f, spec, sxhash (spec)); |
| 1620 | if (img) | 1620 | if (img) |
| 1621 | { | 1621 | { |
| 1622 | free_image (f, img); | 1622 | free_image (f, img); |
| @@ -2281,7 +2281,7 @@ lookup_image (struct frame *f, Lisp_Object spec) | |||
| 2281 | eassert (valid_image_p (spec)); | 2281 | eassert (valid_image_p (spec)); |
| 2282 | 2282 | ||
| 2283 | /* Look up SPEC in the hash table of the image cache. */ | 2283 | /* Look up SPEC in the hash table of the image cache. */ |
| 2284 | hash = sxhash (spec, 0); | 2284 | hash = sxhash (spec); |
| 2285 | img = search_image_cache (f, spec, hash); | 2285 | img = search_image_cache (f, spec, hash); |
| 2286 | if (img && img->load_failed_p) | 2286 | if (img && img->load_failed_p) |
| 2287 | { | 2287 | { |