Diff for /Amaya/amaya/templates.c between versions 1.142 and 1.143

version 1.142, 2007/05/28 08:03:23 version 1.143, 2007/06/05 09:32:26
Line 63  ThotBool IsTemplateInstanceDocument(Docu Line 63  ThotBool IsTemplateInstanceDocument(Docu
 ThotBool IsTemplateDocument(Document doc)  ThotBool IsTemplateDocument(Document doc)
 {  {
 #ifdef TEMPLATES  #ifdef TEMPLATES
   return (DocumentMeta[doc] != NULL && DocumentMeta[doc]->template_url == NULL);    return (DocumentMeta[doc] != NULL && DocumentMeta[doc]->isTemplate);
 #else  /* TEMPLATES */  #else  /* TEMPLATES */
   return FALSE;    return FALSE;
 #endif /* TEMPLATES */  #endif /* TEMPLATES */

Removed from v.1.142  
changed lines
  Added in v.1.143


Webmaster