Mercurial > octave
comparison scripts/image/imformats.m @ 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 | 796f54d4ddbf |
children | 597f3ee61a48 |
comparison
equal
deleted
inserted
replaced
31216:f111d1caa73d | 31218:a33a9c87220b |
---|---|
287 function bool = isa_magick (coder, filename) | 287 function bool = isa_magick (coder, filename) |
288 | 288 |
289 bool = false; | 289 bool = false; |
290 try | 290 try |
291 info = __magick_ping__ (filename, 1); | 291 info = __magick_ping__ (filename, 1); |
292 bool = strcmp (coder, info.Format); | 292 bool = strcmp (coder, info.format); |
293 end_try_catch | 293 end_try_catch |
294 | 294 |
295 endfunction | 295 endfunction |
296 | 296 |
297 function pretty_print_formats (formats) | 297 function pretty_print_formats (formats) |