version 1.31 | | version 1.32 |
---|
| | |
/* | | /* |
* static char *rcsid_item_c = | | * static char *rcsid_item_c = |
* "$Id: item.c,v 1.31 2003/01/17 06:23:54 mwedel Exp $"; | | * "$Id: item.c,v 1.32 2003/01/27 07:34:34 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(!op->nrof && !op->weight && !op->title && !is_magical(op)) | | if(!op->nrof && !op->weight && !op->title && !is_magical(op)) |
return op->name; /* To speed things up (or make things slower?) */ | | return op->name; /* To speed things up (or make things slower?) */ |
| | |
if (op->nrof == 1) | | if (op->nrof <= 1) |
safe_strcat(buf,op->name, &len, HUGE_BUF); | | safe_strcat(buf,op->name, &len, HUGE_BUF); |
else | | else |
safe_strcat(buf,op->name_pl, &len, HUGE_BUF); | | safe_strcat(buf,op->name_pl, &len, HUGE_BUF); |