Diff for /Amaya/amaya/XHTMLbuilder.c between versions 1.34 and 1.35

version 1.34, 2001/03/12 14:44:31 version 1.35, 2001/03/13 16:34:00
Line 299  void             XhtmlEntityCreated (int Line 299  void             XhtmlEntityCreated (int
           GetFallbackCharacter (entityValue, buffer, &lang);            GetFallbackCharacter (entityValue, buffer, &lang);
         }          }
       len = ustrlen (entityName);        len = ustrlen (entityName);
       bufName[0] = (char) 128;        bufName[0] = (char) START_ENTITY;
       ustrncpy (&bufName[1], entityName, len);        ustrncpy (&bufName[1], entityName, len);
       bufName[len+1] = ';';        bufName[len+1] = ';';
       bufName[len+2] = WC_EOS;        bufName[len+2] = WC_EOS;
Line 330  void             XhtmlEntityCreated (int Line 330  void             XhtmlEntityCreated (int
           attrType.AttrTypeNum = HTML_ATTR_EntityName;            attrType.AttrTypeNum = HTML_ATTR_EntityName;
           attr = TtaNewAttribute (attrType);            attr = TtaNewAttribute (attrType);
           TtaAttachAttribute (elLeaf, attr, context->doc);            TtaAttachAttribute (elLeaf, attr, context->doc);
           if (len > MAX_ENTITY_LENGTH -3)  
             len = MAX_ENTITY_LENGTH -3;  
           TtaSetAttributeText (attr, bufName, elLeaf, context->doc);            TtaSetAttributeText (attr, bufName, elLeaf, context->doc);
         }          }
       context->lastElement = elLeaf;        context->lastElement = elLeaf;

Removed from v.1.34  
changed lines
  Added in v.1.35


Webmaster