Skip to content

Commit 9297efd

Browse files
committed
Extra negation by mistake.
1 parent e6c2f54 commit 9297efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

display/renderbasic/src/main/java/org/openscience/cdk/renderer/generators/standard/StandardBondGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ private IRenderingElement generateDoubleBond(IBond bond, boolean dashed) {
656656
// -- x x --
657657
return generateOffsetDoubleBond(bond, atom1, atom2, atom1Bonds.get(0), atom2Bonds, true, dashed);
658658
}
659-
} else if (!(hasDisplayedSymbol(atom1) && !hasDisplayedSymbol(atom2))) {
659+
} else if (!(hasDisplayedSymbol(atom1) && hasDisplayedSymbol(atom2))) {
660660
if (atom1Bonds.size() == 1 && atom2Bonds.isEmpty())
661661
return generateOffsetDoubleBond(bond, atom1, atom2, atom1Bonds.get(0), atom2Bonds, dashed);
662662
else if (atom2Bonds.size() == 1 && atom1Bonds.isEmpty())

0 commit comments

Comments
 (0)