Revision: 18676 http://sourceforge.net/p/jmol/code/18676 Author: hansonr Date: 2013-09-18 23:18:14 +0000 (Wed, 18 Sep 2013) Log Message: -----------
Modified Paths: -------------- trunk/Jmol/src/org/jmol/util/Parser.java Modified: trunk/Jmol/src/org/jmol/util/Parser.java =================================================================== --- trunk/Jmol/src/org/jmol/util/Parser.java 2013-09-18 23:17:43 UTC (rev 18675) +++ trunk/Jmol/src/org/jmol/util/Parser.java 2013-09-18 23:18:14 UTC (rev 18676) @@ -462,7 +462,7 @@ value = ival; } boolean isExponent = false; - if (ich < ichMax && (ch == 'E' || ch == 'e' || ch == 'D')) { + if (ich < ichMax && (ch == 69 || ch == 101 || ch == 68)) { // E e D isExponent = true; if (++ich >= ichMax) return Float.NaN; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits