aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorMiles Bader2007-05-13 13:26:57 +0000
committerMiles Bader2007-05-13 13:26:57 +0000
commit2ccf59411f334a41f2c64b1220a5d45f11071cae (patch)
tree06557aa3117c2c13e011840d748c0f43111e7473 /src/image.c
parent68380acf41d91014634d625e5f529cd3f773fbd4 (diff)
parentd6897a018781164bf9e7bd4ca51c87b303170313 (diff)
downloademacs-2ccf59411f334a41f2c64b1220a5d45f11071cae.tar.gz
emacs-2ccf59411f334a41f2c64b1220a5d45f11071cae.zip
Import arch branch emacs@sv.gnu.org/emacs--multi-tty--0
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index b8317b1e982..198ffaf4651 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1824,7 +1824,7 @@ lookup_image (f, spec)
1824 struct frame *f; 1824 struct frame *f;
1825 Lisp_Object spec; 1825 Lisp_Object spec;
1826{ 1826{
1827 struct image_cache *c = FRAME_X_IMAGE_CACHE (f); 1827 struct image_cache *c;
1828 struct image *img; 1828 struct image *img;
1829 int i; 1829 int i;
1830 unsigned hash; 1830 unsigned hash;
@@ -1836,6 +1836,8 @@ lookup_image (f, spec)
1836 xassert (FRAME_WINDOW_P (f)); 1836 xassert (FRAME_WINDOW_P (f));
1837 xassert (valid_image_p (spec)); 1837 xassert (valid_image_p (spec));
1838 1838
1839 c = FRAME_X_IMAGE_CACHE (f);
1840
1839 GCPRO1 (spec); 1841 GCPRO1 (spec);
1840 1842
1841 /* Look up SPEC in the hash table of the image cache. */ 1843 /* Look up SPEC in the hash table of the image cache. */