aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index 88d2f36cda9..6f2afb28cd2 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7968,9 +7968,14 @@ and `imagemagick-types-inhibit'. */)
7968 Lisp_Object typelist = Qnil; 7968 Lisp_Object typelist = Qnil;
7969 size_t numf = 0; 7969 size_t numf = 0;
7970 ExceptionInfo ex; 7970 ExceptionInfo ex;
7971 char **imtypes = GetMagickList ("*", &numf, &ex); 7971 char **imtypes;
7972 size_t i; 7972 size_t i;
7973 Lisp_Object Qimagemagicktype; 7973 Lisp_Object Qimagemagicktype;
7974
7975 GetExceptionInfo(&ex);
7976 imtypes = GetMagickList ("*", &numf, &ex);
7977 DestroyExceptionInfo(&ex);
7978
7974 for (i = 0; i < numf; i++) 7979 for (i = 0; i < numf; i++)
7975 { 7980 {
7976 Qimagemagicktype = intern (imtypes[i]); 7981 Qimagemagicktype = intern (imtypes[i]);