diff options
-rw-r--r-- | source/fitz/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/image.c b/source/fitz/image.c index 63fed0bc..8491e0ba 100644 --- a/source/fitz/image.c +++ b/source/fitz/image.c @@ -478,7 +478,7 @@ fz_get_pixmap_from_image(fz_context *ctx, fz_image *image, const fz_irect *subar w = image->w; h = sqrtf(ctm->c * ctm->c + ctm->d * ctm->d); if (h > image->h) - w = image->h; + h = image->h; } else { |