From e4c695d49529d03352d241872493a5161e646288 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Mon, 2 Oct 2006 17:18:07 +0200 Subject: [PATCH] bugfix in area-based image scaling --- images/scale-gen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/scale-gen.h b/images/scale-gen.h index fa23225d..bbe5496e 100644 --- a/images/scale-gen.h +++ b/images/scale-gen.h @@ -230,7 +230,7 @@ IMAGE_SCALE_PREFIX(downsample_xy)(struct image *dest, struct image *src) rsrc += src->row_size; x_pos = 0; y_pos += y_inc; - if (y_pos <= 0x10000) + if (y_pos <= 0x100000000) { for (uns cols_counter = src->cols; cols_counter--; ) { -- 2.39.2