Diff for /Amaya/amaya/MathMLbuilder.c between versions 1.228 and 1.229

version 1.228, 2008/05/07 13:49:04 version 1.229, 2008/07/02 09:35:56
Line 4727  void MathMLSpacingAttr (Document doc, El Line 4727  void MathMLSpacingAttr (Document doc, El
   PresentationValue   pval;    PresentationValue   pval;
   PresentationContext ctxt;    PresentationContext ctxt;
   int                 ruleType;    int                 ruleType;
   char*               tmp = NULL;    char*               tmp = NULL, *ptr;
   
   /* provisionally, handles only mspace elements */    /* provisionally, handles only mspace elements */
   elType = TtaGetElementType (el);    elType = TtaGetElementType (el);
Line 4763  void MathMLSpacingAttr (Document doc, El Line 4763  void MathMLSpacingAttr (Document doc, El
       /* parse the attribute value (a number followed by a unit) */        /* parse the attribute value (a number followed by a unit) */
       value = (char*)TtaSkipBlanks (value);        value = (char*)TtaSkipBlanks (value);
       tmp = TtaStrdup(value);        tmp = TtaStrdup(value);
       tmp = ParseCSSUnit (tmp, &pval);        ptr = ParseCSSUnit (tmp, &pval);
       /***** we should accept namedspace for width *****/        /***** we should accept namedspace for width *****/
       if (pval.typed_data.unit != UNIT_INVALID)        if (pval.typed_data.unit != UNIT_INVALID)
         {          {

Removed from v.1.228  
changed lines
  Added in v.1.229


Webmaster