From 581b7d266b9ee1f55cbc160573a0489daa2a2e5d Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 12 Feb 2018 17:12:19 +0000 Subject: [PATCH] =?utf8?q?JAL-2780=20JAL-2781=20ahem=20-=20add=20a=20semicol?= =?utf8?q?on=20if=20there=20isn=E2=80=99t=20one?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/ext/jmol/JmolCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(";"); } -- 1.7.10.2