diff options
| -rw-r--r-- | src/xfns.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c index 6b23e246b22..2eddd37f17e 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -5451,7 +5451,7 @@ Lisp_Object Qxbm; | |||
| 5451 | Lisp_Object QCtype, QCdata, QCfile, QCascent, QCmargin, QCrelief; | 5451 | Lisp_Object QCtype, QCdata, QCfile, QCascent, QCmargin, QCrelief; |
| 5452 | extern Lisp_Object QCwidth, QCheight, QCforeground, QCbackground; | 5452 | extern Lisp_Object QCwidth, QCheight, QCforeground, QCbackground; |
| 5453 | Lisp_Object QCalgorithm, QCcolor_symbols, QCheuristic_mask; | 5453 | Lisp_Object QCalgorithm, QCcolor_symbols, QCheuristic_mask; |
| 5454 | extern Lisp_Object QCimage; | 5454 | Lisp_Object QCindex; |
| 5455 | 5455 | ||
| 5456 | /* Other symbols. */ | 5456 | /* Other symbols. */ |
| 5457 | 5457 | ||
| @@ -8869,7 +8869,7 @@ gif_load (f, img) | |||
| 8869 | return 0; | 8869 | return 0; |
| 8870 | } | 8870 | } |
| 8871 | 8871 | ||
| 8872 | image = image_spec_value (img->spec, QCimage, NULL); | 8872 | image = image_spec_value (img->spec, QCindex, NULL); |
| 8873 | ino = INTEGERP (image) ? XFASTINT (image) : 0; | 8873 | ino = INTEGERP (image) ? XFASTINT (image) : 0; |
| 8874 | if (ino >= gif->ImageCount) | 8874 | if (ino >= gif->ImageCount) |
| 8875 | { | 8875 | { |
| @@ -10400,6 +10400,8 @@ Each element of the list is a symbol for a supported image type."); | |||
| 10400 | staticpro (&QCpt_width); | 10400 | staticpro (&QCpt_width); |
| 10401 | QCpt_height = intern (":pt-height"); | 10401 | QCpt_height = intern (":pt-height"); |
| 10402 | staticpro (&QCpt_height); | 10402 | staticpro (&QCpt_height); |
| 10403 | QCindex = intern (":index"); | ||
| 10404 | staticpro (&QCindex); | ||
| 10403 | Qpbm = intern ("pbm"); | 10405 | Qpbm = intern ("pbm"); |
| 10404 | staticpro (&Qpbm); | 10406 | staticpro (&Qpbm); |
| 10405 | 10407 | ||