JAL-3244 ignore file path separator when comparing pdb file paths
[jalview.git] / src / jalview / gui / AppJmol.java
index 6c934c8..319ba06 100644 (file)
@@ -515,7 +515,7 @@ public class AppJmol extends StructureViewerBase
             addingStructures = true; // already files loaded.
             for (int c = 0; c < filesInViewer.length; c++)
             {
-              if (filesInViewer[c].equals(file))
+              if (Platform.pathEquals(filesInViewer[c], file))
               {
                 file = null;
                 break;