Diff for /Amaya/amaya/XHTMLbuilder.c between versions 1.80 and 1.81

version 1.80, 2003/01/23 15:06:49 version 1.81, 2003/01/24 17:33:49
Line 1087  void CreateAttrHeightPercentPxl (char *b Line 1087  void CreateAttrHeightPercentPxl (char *b
     /* the height attribute is attached to an Object element */      /* the height attribute is attached to an Object element */
     {      {
       child = TtaGetFirstChild (el);        child = TtaGetFirstChild (el);
       if (child)        if (!child)
           return;
         else
         {          {
           childType = TtaGetElementType (child);            childType = TtaGetElementType (child);
           if (childType.ElTypeNum == HTML_EL_PICTURE_UNIT)            if (childType.ElTypeNum == HTML_EL_PICTURE_UNIT)
             /* the Object element is of type image. apply the width              /* the Object element is of type image. apply the width
                attribute to the actual image element */                 attribute to the actual image element */
             el = child;              el = child;
             else
               return;
         }          }
     }      }
   /* remove trailing spaces */    /* remove trailing spaces */

Removed from v.1.80  
changed lines
  Added in v.1.81


Webmaster