JAL-2780 JAL-2781 ahem - add a semicolon if there isn’t one
authorJim Procter <jprocter@issues.jalview.org>
Mon, 12 Feb 2018 17:12:19 +0000 (17:12 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 12 Feb 2018 17:12:19 +0000 (17:12 +0000)
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(";");
               }