Revision: 20807
          http://sourceforge.net/p/jmol/code/20807
Author:   hansonr
Date:     2015-10-04 04:28:59 +0000 (Sun, 04 Oct 2015)
Log Message:
-----------


Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/script/ScriptCompiler.java

Modified: trunk/Jmol/src/org/jmol/script/ScriptCompiler.java
===================================================================
--- trunk/Jmol/src/org/jmol/script/ScriptCompiler.java  2015-10-04 04:16:41 UTC 
(rev 20806)
+++ trunk/Jmol/src/org/jmol/script/ScriptCompiler.java  2015-10-04 04:28:59 UTC 
(rev 20807)
@@ -2255,7 +2255,7 @@
 
   private void fixFlowAddLine(ScriptFlowContext flowContext) {
     while (flowContext != null) {
-      if (flowContext.addLine > 0) {
+      if (flowContext.addLine > 0 || flowContext.forceEndIf) {
         flowContext.addLine = lineCurrent - flowContext.ptLine;
         flowContext.forceEndIf = true;
       }

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


------------------------------------------------------------------------------
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to