Revert "more Verbose"

This reverts commit 377be376fe.
This commit is contained in:
nhmall
2023-10-29 20:28:19 -04:00
parent 03ee609ca0
commit 67a695ac56
4 changed files with 6 additions and 161 deletions

View File

@@ -2569,19 +2569,10 @@ obj_to_let(struct obj *obj)
void
prinv(const char *prefix, struct obj *obj, long quan)
{
boolean total_of = (quan && (quan < obj->quan));
char totalbuf[QBUFSZ];
if (!prefix)
prefix = "";
totalbuf[0] = '\0';
if (total_of)
Snprintf(totalbuf, sizeof totalbuf,
" (%ld in total).", obj->quan);
pline("%s%s%s%s", prefix, *prefix ? " " : "",
xprname(obj, (char *) 0, obj_to_let(obj), !total_of, 0L, quan),
Verbose(3, prinv) ? totalbuf : "");
pline("%s%s%s", prefix, *prefix ? " " : "",
xprname(obj, (char *) 0, obj_to_let(obj), TRUE, 0L, quan));
}
DISABLE_WARNING_FORMAT_NONLITERAL