1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-29 08:22:11 +02:00

Fix wrong variable name

This commit is contained in:
DarthSim 2017-10-19 22:55:19 +06:00
parent c052b1f2ae
commit 4ffdda7ab2

6
vips.h
View File

@ -127,9 +127,9 @@ vips_image_hasalpha_go(VipsImage * in) {
#if VIPS_SUPPORT_HASALPHA
return vips_image_hasalpha(in);
#else
return( image->Bands == 2 ||
(image->Bands == 4 && image->Type != VIPS_INTERPRETATION_CMYK) ||
image->Bands > 4 );
return( in->Bands == 2 ||
(in->Bands == 4 && in->Type != VIPS_INTERPRETATION_CMYK) ||
in->Bands > 4 );
#endif
}