Diff for /Amaya/amaya/templates.c between versions 1.204 and 1.205

version 1.204, 2008/09/29 13:13:23 version 1.205, 2008/09/29 13:28:13
Line 1661  ThotBool TemplateAttrInMenu (NotifyAttri Line 1661  ThotBool TemplateAttrInMenu (NotifyAttri
 void CreateTemplateFromDocument(Document doc, View view)  void CreateTemplateFromDocument(Document doc, View view)
 {  {
 #ifdef TEMPLATES  #ifdef TEMPLATES
   char buffer[MAX_LENGTH], suffix[10];    char     buffer[MAX_LENGTH], suffix[10];
     ThotBool with_suffix;
   
   if (IsW3Path (DocumentURLs[doc]) &&    if (IsW3Path (DocumentURLs[doc]) &&
       DocumentMeta[doc] && DocumentMeta[doc]->content_location)        DocumentMeta[doc] && DocumentMeta[doc]->full_content_location)
       {
     // use the location instead of the current URI      // use the location instead of the current URI
     strcpy (buffer, DocumentMeta[doc]->content_location);      
       strcpy (buffer, DocumentMeta[doc]->full_content_location);
       }
   else    else
     strcpy (buffer, DocumentURLs[doc]);      strcpy (buffer, DocumentURLs[doc]);
   

Removed from v.1.204  
changed lines
  Added in v.1.205


Webmaster