Explorar o código

Fix wrong variable name

DarthSim %!s(int64=8) %!d(string=hai) anos
pai
achega
4ffdda7ab2
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      vips.h

+ 3 - 3
vips.h

@@ -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
 }