--- deliantra/server/common/readable.C 2006/09/03 00:18:40 1.3 +++ deliantra/server/common/readable.C 2006/09/03 14:33:47 1.4 @@ -1,6 +1,6 @@ /* * static char *rcsid_readable_c = - * "$Id: readable.C,v 1.3 2006/09/03 00:18:40 root Exp $"; + * "$Id: readable.C,v 1.4 2006/09/03 14:33:47 elmex Exp $"; */ /* @@ -1621,7 +1621,7 @@ /* preamble */ sprintf(retbuf, "Herein is described a project using %s: \n", - formula->skill?formula->skill:"an unknown skill"); + formula->skill ? &formula->skill : "an unknown skill"); if ((at = find_archetype (op_name)) != (archetype *) NULL) op_name = at->clone.name; @@ -1631,7 +1631,7 @@ /* item name */ if (strcmp (formula->title, "NONE")) { - sprintf (retbuf, "%sThe %s of %s", retbuf, op_name, formula->title); + sprintf (retbuf, "%sThe %s of %s", retbuf, op_name, &formula->title); /* This results in things like pile of philo. sulfur. * while philo. sulfur may look better, without this, * you get things like 'the wise' because its missing the @@ -1639,7 +1639,7 @@ */ sprintf(title,"%s: %s of %s", formula_book_name[RANDOM() % (sizeof(formula_book_name) / sizeof(char*))], - op_name, formula->title); + op_name, &formula->title); } else { @@ -1679,7 +1679,7 @@ } else 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"); book->msg = retbuf;