diff --git a/coders/bmp.c b/coders/bmp.c
index cf61a30..e771295 100644
--- a/coders/bmp.c
+++ b/coders/bmp.c
@@ -840,7 +840,7 @@
     image->columns=(size_t) MagickAbsoluteValue(bmp_info.width);
     image->rows=(size_t) MagickAbsoluteValue(bmp_info.height);
     image->depth=bmp_info.bits_per_pixel <= 8 ? bmp_info.bits_per_pixel : 8;
-    image->alpha_trait=(bmp_info.alpha_mask != 0) || 
+    image->alpha_trait=(bmp_info.alpha_mask != 0) &&
       ((bmp_info.compression == BI_RGB) && (bmp_info.bits_per_pixel == 32)) ? 
       BlendPixelTrait : UndefinedPixelTrait;
     if ((bmp_info.number_colors != 0) || (bmp_info.bits_per_pixel < 16))