Skip to content

Commit cad5a4f

Browse files
committed
ZeissLSMReader: replace assignment operator by logical and operator
1 parent 16a7bf5 commit cad5a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/formats-gpl/src/loci/formats/in/ZeissLSMReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ else if (zCoordinates.size() == i) {
11341134
// if this is not the first channel, copy the color from the
11351135
// previous channel (necessary for SIM data)
11361136
// otherwise set the color to white, as this will display better
1137-
if (red == 0 && green == 0 & blue == 0) {
1137+
if (red == 0 && green == 0 && blue == 0) {
11381138
if (i > 0 && isSIM) {
11391139
red = channelColor[i - 1].getRed();
11401140
green = channelColor[i - 1].getGreen();

0 commit comments

Comments
 (0)