Rename old properties file before writing new
[jalview.git] / src / jalview / bin / JalviewLite.java
index 081efa6..ea425d0 100755 (executable)
@@ -1,6 +1,6 @@
 /*\r
 * Jalview - A Sequence Alignment Editor and Viewer\r
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
 *\r
 * This program is free software; you can redistribute it and/or\r
 * modify it under the terms of the GNU General Public License\r
@@ -318,7 +318,8 @@ public class JalviewLite extends Applet
 \r
                 String treeFile = applet.getParameter("tree");\r
                 if(treeFile==null)\r
-                  applet.getParameter("treeFile");\r
+                  treeFile = applet.getParameter("treeFile");\r
+\r
                 if (treeFile != null)\r
                 {\r
                   try\r