From: jprocter Date: Tue, 17 May 2011 08:25:44 +0000 (+0100) Subject: ensure all colour statements added to string set X-Git-Tag: Release_2_7~190 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0983cd787ef575844351cfca77686b918fbb81fd;p=jalview.git ensure all colour statements added to string set --- diff --git a/src/jalview/ext/jmol/JmolCommands.java b/src/jalview/ext/jmol/JmolCommands.java index acf27f6..0e6cac3 100644 --- a/src/jalview/ext/jmol/JmolCommands.java +++ b/src/jalview/ext/jmol/JmolCommands.java @@ -99,6 +99,11 @@ public class JmolCommands } } } + { + // add final chunk + str.add(command.toString()); + command.setLength(0); + } return str.toArray(new String[str.size()]); }