Fix typo in `magick7load` (#2512)

Introduced in commit f92069b.
This commit is contained in:
Kleis Auke Wolthuizen 2021-11-02 13:04:19 +01:00 committed by GitHub
parent f92069b035
commit e95e8c5155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ vips_foreign_load_magick7_parse( VipsForeignLoadMagick7 *magick7,
/* So we can finally set the height.
*/
if( read->n_frames > 1 ) {
if( magick7->n_frames > 1 ) {
vips_image_set_int( out, VIPS_META_PAGE_HEIGHT, out->Ysize );
out->Ysize *= magick7->n_frames;
}