Diff for /Amaya/amaya/HTMLbook.c between versions 1.163 and 1.164

version 1.163, 2009/10/15 15:07:36 version 1.164, 2009/11/06 09:42:11
Line 1024  static Element MoveDocumentBody (Element Line 1024  static Element MoveDocumentBody (Element
       TtaInsertSibling (lastInserted, elem, TRUE, destDoc);        TtaInsertSibling (lastInserted, elem, TRUE, destDoc);
       /* this delimits the new inserted part of the document */        /* this delimits the new inserted part of the document */
       RegisterSubDoc (lastInserted, url);        RegisterSubDoc (lastInserted, url);
       CreateTargetAnchor (destDoc, lastInserted, FALSE, FALSE);        CreateTargetAnchor (destDoc, lastInserted, FALSE,TRUE,  FALSE);
       div = lastInserted;        div = lastInserted;
   
       // check if new natures are added        // check if new natures are added
Line 2022  void MakeToc (Document doc, View view) Line 2022  void MakeToc (Document doc, View view)
               if (!attr)                if (!attr)
                 {                  {
                   /* generate the ID if it does't exist */                    /* generate the ID if it does't exist */
                   CreateTargetAnchor (doc, el, TRUE, TRUE);                    CreateTargetAnchor (doc, el, TRUE, TRUE, TRUE);
                   attr = TtaGetAttribute (el, attrType);                    attr = TtaGetAttribute (el, attrType);
                 }                  }
               i = TtaGetTextAttributeLength (attr) + 1;                i = TtaGetTextAttributeLength (attr) + 1;

Removed from v.1.163  
changed lines
  Added in v.1.164


Webmaster