From 73073ccfca2a143ad76d508b5ebcdd842dc77112 Mon Sep 17 00:00:00 2001 From: Nicolas Robidoux Date: Sun, 15 Mar 2009 17:50:12 +0000 Subject: [PATCH] regression: last tweak was stupid --- libsrc/resample/nohalo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/resample/nohalo.cpp b/libsrc/resample/nohalo.cpp index b3d0501c..23a1be7c 100644 --- a/libsrc/resample/nohalo.cpp +++ b/libsrc/resample/nohalo.cpp @@ -546,8 +546,8 @@ vips_interpolate_nohalo_interpolate( VipsInterpolate *interpolate, * VIPS versions of Nicolas's pixel addressing values. Double bands for * complex images. */ - const int bands_actual = in->im->Bands; const int lskip = IM_REGION_LSKIP( in ) / IM_IMAGE_SIZEOF_ELEMENT( in->im ); + const int bands_actual = in->im->Bands; const int bands = ( im_iscomplex( in->im ) ? 2 * bands_actual : bands_actual );