JAL-2780 JAL-2781 ahem - add a semicolon if there isn’t one
[jalview.git] / src / jalview / ext / jmol / JmolCommands.java
index 7a52ba9..8fb0de6 100644 (file)
@@ -141,7 +141,7 @@ public class JmolCommands
               // - execute command and flush
 
               if (command.length() > 0
-                      && command.charAt(command.length() - 1) == ';')
+                      && command.charAt(command.length() - 1) != ';')
               {
                 command.append(";");
               }