From 51a4b9b7f4db43e6878a53dbd9b2384bfd7eaa7a Mon Sep 17 00:00:00 2001 From: Ilia Kashintsev Date: Fri, 24 Apr 2026 15:22:46 +0300 Subject: [PATCH] image-zoom.c: Replace z_depth with z_inincr in zoom_bilinear() --- cupsfilters/image-zoom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cupsfilters/image-zoom.c b/cupsfilters/image-zoom.c index f3c1c5e05..0f3890276 100644 --- a/cupsfilters/image-zoom.c +++ b/cupsfilters/image-zoom.c @@ -270,7 +270,7 @@ zoom_bilinear(cf_izoom_t *z, // I - Zoom record to fill if (ix < z_xmax) { for (count = 0; count < z_depth; count ++) - *r++ = (inptr[count] * xerr0 + inptr[z_depth + count] * xerr1) / z_xsize; + *r++ = (inptr[count] * xerr0 + inptr[z_inincr + count] * xerr1) / z_xsize; } else {