Revision: 20956
          http://sourceforge.net/p/jmol/code/20956
Author:   hansonr
Date:     2016-02-06 21:26:19 +0000 (Sat, 06 Feb 2016)
Log Message:
-----------
delphi  issue

Modified Paths:
--------------
    branches/v14_4/Jmol/src/org/jmol/viewer/FileManager.java
    trunk/Jmol/src/org/jmol/viewer/FileManager.java

Modified: branches/v14_4/Jmol/src/org/jmol/viewer/FileManager.java
===================================================================
--- branches/v14_4/Jmol/src/org/jmol/viewer/FileManager.java    2016-02-06 
18:16:31 UTC (rev 20955)
+++ branches/v14_4/Jmol/src/org/jmol/viewer/FileManager.java    2016-02-06 
21:26:19 UTC (rev 20956)
@@ -1206,10 +1206,10 @@
     if (pt0 >= 0) {
       if (line.indexOf(FileManager.PMESH_BINARY_MAGIC_NUMBER) == 0)
         return "Pmesh";
+      if (line.indexOf("MAP ") == 208)
+        return "Mrc";
       if (line.indexOf(DELPHI_BINARY_MAGIC_NUMBER) == 0)
         return "DelPhi";
-      if (line.indexOf("MAP ") == 208)
-        return "Mrc";
       if (line.length() > 37 && (line.charAt(36) == 0 && line.charAt(37) == 
100 
           || line.charAt(36) == 0 && line.charAt(37) == 100)) { 
            // header19 (short)100

Modified: trunk/Jmol/src/org/jmol/viewer/FileManager.java
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/FileManager.java     2016-02-06 18:16:31 UTC 
(rev 20955)
+++ trunk/Jmol/src/org/jmol/viewer/FileManager.java     2016-02-06 21:26:19 UTC 
(rev 20956)
@@ -1206,10 +1206,10 @@
     if (pt0 >= 0) {
       if (line.indexOf(FileManager.PMESH_BINARY_MAGIC_NUMBER) == 0)
         return "Pmesh";
+      if (line.indexOf("MAP ") == 208)
+        return "Mrc";
       if (line.indexOf(DELPHI_BINARY_MAGIC_NUMBER) == 0)
         return "DelPhi";
-      if (line.indexOf("MAP ") == 208)
-        return "Mrc";
       if (line.length() > 37 && (line.charAt(36) == 0 && line.charAt(37) == 
100 
           || line.charAt(36) == 0 && line.charAt(37) == 100)) { 
            // header19 (short)100

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to