Skip to content

Commit

Permalink
Fixed incorrect break.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Nov 20, 2017
1 parent f6ca144 commit a6158b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coders/dds.c
Expand Up @@ -1967,11 +1967,11 @@ static MagickBooleanType ReadMipmaps(const ImageInfo *image_info,Image *image,
status=decoder(image,dds_info,exception);
if (status == MagickFalse)
break;
if ((w == 1) && (h == 1))
break;

w=DIV2(w);
h=DIV2(h);
if ((w == 1) && (h == 1))
break;
}
}
return(status);
Expand Down

0 comments on commit a6158b7

Please sign in to comment.