Diff for /Amaya/amaya/templateInstantiate.c between versions 1.28 and 1.29

version 1.28, 2007/02/06 14:29:14 version 1.29, 2007/02/08 11:32:09
Line 55  void  CreateInstance(char *templatePath, Line 55  void  CreateInstance(char *templatePath,
   
   XTigerTemplate t = (XTigerTemplate)Dictionary_Get (Templates_Dic, templatePath);    XTigerTemplate t = (XTigerTemplate)Dictionary_Get (Templates_Dic, templatePath);
   if (t == NULL)    if (t == NULL)
     //The template must be loaded before calling this function      {
     return;        // the template cannot be loaded
         InitConfirm (doc, 1, TtaGetMessage (AMAYA, AM_BAD_TEMPLATE));
         return;
       }
   
   doc = GetTemplateDocument (t);    doc = GetTemplateDocument (t);
   while (alreadyOnDoc < DocumentTableLength-1 && !alreadyViewing)    while (alreadyOnDoc < DocumentTableLength-1 && !alreadyViewing)

Removed from v.1.28  
changed lines
  Added in v.1.29


Webmaster