]> code.delx.au - gnu-emacs/blobdiff - src/image.c
Merge from emacs--devo--0
[gnu-emacs] / src / image.c
index 74bb1d754513fae5df3e6860b56e7b0a21bbcc37..d38ca04e0834b83e95968ec5676c471e4cc91ae5 100644 (file)
@@ -1905,6 +1905,7 @@ lookup_image (f, spec)
      struct frame *f;
      Lisp_Object spec;
 {
+  struct image_cache *c;
   struct image *img;
   unsigned hash;
   struct gcpro gcpro1;
@@ -1915,6 +1916,8 @@ lookup_image (f, spec)
   xassert (FRAME_WINDOW_P (f));
   xassert (valid_image_p (spec));
 
+  c = FRAME_X_IMAGE_CACHE (f);
+
   GCPRO1 (spec);
 
   /* Look up SPEC in the hash table of the image cache.  */