Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup remains to be done.
This commit is contained in:
parent
de95b19cee
commit
7d459d7d36
47 changed files with 608 additions and 591 deletions
|
|
@ -79,7 +79,7 @@ inv_name(struct object *obj, bool drop)
|
|||
if (wh == 1) {
|
||||
if (obj->o_count == 1)
|
||||
q = vowelstr(fruit);
|
||||
sprintf(prbuf, "%s%s %s%s", nm, q, fruit, pl);
|
||||
sprintf(prbuf, "%s%s %.72s%s", nm, q, fruit, pl);
|
||||
}
|
||||
else {
|
||||
if (obj->o_count == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue