From cad5a4fc4fc117a3752941e068b446ec9b67b643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Mon, 22 Jul 2024 08:40:42 +0100 Subject: [PATCH] ZeissLSMReader: replace assignment operator by logical and operator --- components/formats-gpl/src/loci/formats/in/ZeissLSMReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/formats-gpl/src/loci/formats/in/ZeissLSMReader.java b/components/formats-gpl/src/loci/formats/in/ZeissLSMReader.java index cf7e82bdce1..b33d2a042b4 100644 --- a/components/formats-gpl/src/loci/formats/in/ZeissLSMReader.java +++ b/components/formats-gpl/src/loci/formats/in/ZeissLSMReader.java @@ -1134,7 +1134,7 @@ else if (zCoordinates.size() == i) { // if this is not the first channel, copy the color from the // previous channel (necessary for SIM data) // otherwise set the color to white, as this will display better - if (red == 0 && green == 0 & blue == 0) { + if (red == 0 && green == 0 && blue == 0) { if (i > 0 && isSIM) { red = channelColor[i - 1].getRed(); green = channelColor[i - 1].getGreen();