changeset 31218:a33a9c87220b stable

imformats.m: Fix "isa" function in return value (bug #62974) * imformats.m (isa_magick): Fix typo "Format" to "format" for name of field in struct returned from __magick_ping__.
author Rik <rik@octave.org>
date Tue, 30 Aug 2022 15:24:29 -0700
parents f111d1caa73d
children ad9822dedef8 5b021ecc8bfe
files scripts/image/imformats.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/image/imformats.m	Tue Aug 30 18:26:30 2022 +0200
+++ b/scripts/image/imformats.m	Tue Aug 30 15:24:29 2022 -0700
@@ -289,7 +289,7 @@
   bool = false;
   try
     info = __magick_ping__ (filename, 1);
-    bool = strcmp (coder, info.Format);
+    bool = strcmp (coder, info.format);
   end_try_catch
 
 endfunction