Diff for /Amaya/amaya/MathMLbuilder.c between versions 1.197 and 1.198

version 1.197, 2004/09/23 14:13:46 version 1.198, 2004/10/14 11:08:05
Line 2054  void      CheckFence (Element el, Docume Line 2054  void      CheckFence (Element el, Docume
    CHAR_T              text[2];     CHAR_T              text[2];
    char                script;     char                script;
    unsigned char       c;     unsigned char       c;
    int                 len, val, oldStructureChecking;     int                 len, val;
      ThotBool            oldStructureChecking;
   
    elType = TtaGetElementType (el);     elType = TtaGetElementType (el);
    if (elType.ElTypeNum == MathML_EL_MO ||     if (elType.ElTypeNum == MathML_EL_MO ||
Line 2121  void      CheckFence (Element el, Docume Line 2122  void      CheckFence (Element el, Docume
                 /* do not check the Thot abstract tree against the structure                  /* do not check the Thot abstract tree against the structure
                    schema while inserting this child element  */                     schema while inserting this child element  */
                 oldStructureChecking = TtaGetStructureChecking (doc);                  oldStructureChecking = TtaGetStructureChecking (doc);
                 TtaSetStructureChecking (0, doc);                  TtaSetStructureChecking (FALSE, doc);
                 TtaInsertFirstChild (&content, el, doc);                  TtaInsertFirstChild (&content, el, doc);
                 TtaSetGraphicsShape (content, c, doc);                  TtaSetGraphicsShape (content, c, doc);
                 /* resume structure checking */                  /* resume structure checking */
                 TtaSetStructureChecking ((ThotBool)oldStructureChecking, doc);                  TtaSetStructureChecking (oldStructureChecking, doc);
                 }                  }
               }                }
            }             }

Removed from v.1.197  
changed lines
  Added in v.1.198


Webmaster