version 1.16 | | version 1.17 |
---|
| | |
/* | | /* |
* static char *rcsid_readable_c = | | * static char *rcsid_readable_c = |
* "$Id: readable.c,v 1.16 2004/12/29 01:08:48 mwedel Exp $"; | | * "$Id: readable.c,v 1.17 2005/03/06 20:38:52 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
if (!tl) | | if (!tl) |
{ | | { |
LOG (llevError, "change_book_name(): can't find title list"); | | LOG (llevError, "change_book_name(): can't find title list\n"); |
numb = 0; | | numb = 0; |
} | | } |
else | | else |
| | |
if ((at = find_archetype (op_name)) != (archetype *) NULL) | | if ((at = find_archetype (op_name)) != (archetype *) NULL) |
op_name = at->clone.name; | | op_name = at->clone.name; |
else | | else |
LOG (llevError, "formula_msg() can't find arch %s for formula.", | | LOG (llevError, "formula_msg() can't find arch %s for formula.\n", |
op_name); | | op_name); |
| | |
/* item name */ | | /* item name */ |
| | |
} | | } |
} | | } |
else | | else |
LOG (llevError, "formula_msg() no ingredient list for object %s of %s", | | LOG (llevError, "formula_msg() no ingredient list for object %s of %s\n", |
op_name, formula->title); | | op_name, formula->title); |
if (retbuf[strlen(retbuf)-1]!= '\n') strcat(retbuf, "\n"); | | if (retbuf[strlen(retbuf)-1]!= '\n') strcat(retbuf, "\n"); |
if (book->msg) free_string(book->msg); | | if (book->msg) free_string(book->msg); |