Diff for /Amaya/amaya/templateInstantiate.c between versions 1.65 and 1.66

version 1.65, 2008/03/14 08:18:31 version 1.66, 2008/03/20 13:51:22
Line 853  void AddPromptIndicator (Element el, Doc Line 853  void AddPromptIndicator (Element el, Doc
   AttributeType       attrType;    AttributeType       attrType;
   Attribute           att;    Attribute           att;
   
   elType = TtaGetElementType (el);    if (el)
   attrType.AttrSSchema = elType.ElSSchema;      {
   attrType.AttrTypeNum = Template_ATTR_prompt;        elType = TtaGetElementType (el);
   att = TtaNewAttribute (attrType);        attrType.AttrSSchema = elType.ElSSchema;
   TtaAttachAttribute (el, att, doc);        attrType.AttrTypeNum = Template_ATTR_prompt;
         att = TtaNewAttribute (attrType);
         TtaAttachAttribute (el, att, doc);
       }
 #endif /* TEMPLATES */  #endif /* TEMPLATES */
 }  }
   

Removed from v.1.65  
changed lines
  Added in v.1.66


Webmaster