From: <ha...@us...> - 2007-01-04 02:25:16
|
Revision: 6569 http://svn.sourceforge.net/jmol/?rev=6569&view=rev Author: hansonr Date: 2007-01-03 18:25:12 -0800 (Wed, 03 Jan 2007) Log Message: ----------- 11.0 bugfix for isotope definitions Modified Paths: -------------- branches/v11_0/Jmol/src/org/jmol/viewer/JmolConstants.java Modified: branches/v11_0/Jmol/src/org/jmol/viewer/JmolConstants.java =================================================================== --- branches/v11_0/Jmol/src/org/jmol/viewer/JmolConstants.java 2007-01-04 02:23:26 UTC (rev 6568) +++ branches/v11_0/Jmol/src/org/jmol/viewer/JmolConstants.java 2007-01-04 02:25:12 UTC (rev 6569) @@ -594,7 +594,7 @@ */ public final static String altIsotopeSymbolFromIndex(int i) { int code = altElementNumbers[i]; - return (code >> 8) + elementSymbolFromNumber(code ); + return (code >> 7) + elementSymbolFromNumber(code & 127); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |