Selaa lähdekoodia

Fix wrong variable name

DarthSim 7 vuotta sitten
vanhempi
commit
4ffdda7ab2
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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
 }