file: is a URL
authoramwaterhouse <Andrew Waterhouse>
Thu, 10 Aug 2006 09:48:51 +0000 (09:48 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 10 Aug 2006 09:48:51 +0000 (09:48 +0000)
src/jalview/bin/Jalview.java

index e5ad207..87bacc1 100755 (executable)
@@ -150,7 +150,7 @@ public class Jalview
 \r
             protocol = "File";\r
 \r
-            if (file.indexOf("http:") > -1)\r
+            if (file.indexOf("http:") > -1 || file.indexOf("file:") >-1)\r
             {\r
               protocol = "URL";\r
             }\r