From: Jim Procter Date: Mon, 12 Feb 2018 17:12:19 +0000 (+0000) Subject: JAL-2780 JAL-2781 ahem - add a semicolon if there isn’t one X-Git-Tag: Release_2_10_4~68^2~16 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=581b7d266b9ee1f55cbc160573a0489daa2a2e5d;hp=724c748499565c79f99171752d9b3effb3043fc4;p=jalview.git JAL-2780 JAL-2781 ahem - add a semicolon if there isn’t one --- diff --git a/src/jalview/ext/jmol/JmolCommands.java b/src/jalview/ext/jmol/JmolCommands.java index 7a52ba9..8fb0de6 100644 --- a/src/jalview/ext/jmol/JmolCommands.java +++ b/src/jalview/ext/jmol/JmolCommands.java @@ -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(";"); }