From: <ha...@us...> - 2010-04-18 01:32:09
|
Revision: 12883 http://jmol.svn.sourceforge.net/jmol/?rev=12883&view=rev Author: hansonr Date: 2010-04-18 01:32:03 +0000 (Sun, 18 Apr 2010) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/org/jmol/script/ScriptEvaluator.java Modified: trunk/Jmol/src/org/jmol/script/ScriptEvaluator.java =================================================================== --- trunk/Jmol/src/org/jmol/script/ScriptEvaluator.java 2010-04-18 01:23:34 UTC (rev 12882) +++ trunk/Jmol/src/org/jmol/script/ScriptEvaluator.java 2010-04-18 01:32:03 UTC (rev 12883) @@ -13435,12 +13435,12 @@ case Token.titleformat: if (i + 1 < statementLength && tokAt(i + 1) == Token.string) { propertyName = "titleFormat"; - propertyValue = parameterAsString(2); + propertyValue = parameterAsString(i + 1); } break; case Token.homo: case Token.lumo: - if ((offset = moOffset(1)) == Integer.MAX_VALUE) + if ((offset = moOffset(i)) == Integer.MAX_VALUE) error(ERROR_invalidArgument); moNumber = 0; break; @@ -13455,7 +13455,7 @@ return true; } if (propertyName != null) - addShapeProperty(propertyList, propertyName, propertyValue); + addShapeProperty(1propertyList, propertyName, propertyValue); if (moNumber != Integer.MAX_VALUE) { if (tokAt(i + 1) == Token.string) title = parameterAsString(i + 1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |