diff options
Diffstat (limited to 'fitz/dev_draw.c')
-rw-r--r-- | fitz/dev_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c index e71abe24..02930d8b 100644 --- a/fitz/dev_draw.c +++ b/fitz/dev_draw.c @@ -599,8 +599,8 @@ fz_drawfillimage(void *user, fz_pixmap *image, fz_matrix ctm, float alpha) } #ifdef SMOOTHSCALE - dx = sqrtf(ctm.a * ctm.a + ctm.c * ctm.c); - dy = sqrtf(ctm.b * ctm.b + ctm.d * ctm.d); + dx = sqrtf(ctm.a * ctm.a + ctm.b * ctm.b); + dy = sqrtf(ctm.c * ctm.c + ctm.d * ctm.d); if (dx < image->w && dy < image->h) { scaled = fz_smoothtransformpixmap(image, &ctm, dev->dest->x, dev->dest->y, dx, dy); |