Difference for common/readable.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_readable_c =   * static char *rcsid_readable_c =
  *   "$Id: readable.c,v 1.15 2004/10/09 19:36:29 akirschbaum Exp $";   *   "$Id: readable.c,v 1.16 2004/12/29 01:08:48 mwedel Exp $";
  */   */
   
 /*  /*
Line 1552
 
Line 1552
      break;       break;
     }      }
   
     /* preamble */  
     strcpy (retbuf, "Herein is described an alchemical proceedure: \n");  
   
     if (!formula) {      if (!formula) {
  book->msg = add_string(" <indescipherable text>\n");   book->msg = add_string(" <indescipherable text>\n");
  new_text_name(book, 4);   new_text_name(book, 4);
Line 1569
 
Line 1566
  archetype *at;   archetype *at;
  int     nindex = nstrtok (formula->arch_name, ",");   int     nindex = nstrtok (formula->arch_name, ",");
   
    /* preamble */
    sprintf(retbuf, "Herein is described a project using %s: \n",
    formula->skill?formula->skill:"an unknown skill");
   
  /* construct name of object to be made */   /* construct name of object to be made */
  if (nindex > 1)   if (nindex > 1)
  {   {
Line 1627
 
Line 1628
  if (formula->ingred != NULL)   if (formula->ingred != NULL)
  {   {
      linked_char *next;       linked_char *next;
      strcat (retbuf, " may be made using the \nfollowing ingredients:\n");       archetype *at;
   
        at = find_archetype(formula->cauldron);
   
        sprintf(retbuf + strlen(retbuf),
        " may be made at %s using the following ingredients:\n",
        at?query_name(&at->clone):"an unknown place");
   
      for (next = formula->ingred; next != NULL; next = next->next)       for (next = formula->ingred; next != NULL; next = next->next)
      {       {
  strcat (retbuf, next->name);   strcat (retbuf, next->name);


Legend:
line(s) removed in v.1.15 
line(s) changed
 line(s) added in v.1.16

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:17