From: <ha...@us...> - 2007-02-28 06:20:34
|
Revision: 6991 http://svn.sourceforge.net/jmol/?rev=6991&view=rev Author: hansonr Date: 2007-02-27 22:20:31 -0800 (Tue, 27 Feb 2007) Log Message: ----------- 11.1.15 string != string Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Eval.java Modified: trunk/Jmol/src/org/jmol/viewer/Eval.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Eval.java 2007-02-28 05:40:21 UTC (rev 6990) +++ trunk/Jmol/src/org/jmol/viewer/Eval.java 2007-02-28 06:20:31 UTC (rev 6991) @@ -8918,6 +8918,8 @@ return addX(Token.sValue(x1).equalsIgnoreCase(Token.sValue(x2))); return addX(Token.fValue(x1) == Token.fValue(x2)); case Token.opNE: + if (x1.tok == Token.string && x2.tok == Token.string) + return addX(!(Token.sValue(x1).equalsIgnoreCase(Token.sValue(x2)))); return addX(Token.fValue(x1) != Token.fValue(x2)); case Token.plus: if (x1.tok == Token.list) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |