Strcpy(the_wand, yname(obj));
Sprintf(confirm, "Are you really sure you want to break %s?",
- safe_qbuf(confirm, sizeof("Are you really sure you want to break ?"),
+ safe_qbuf("", sizeof("Are you really sure you want to break ?"),
the_wand, ysimple_name(obj), "the wand"));
if (yn(confirm) == 'n' ) return 0;
if (!all_of_a_type) {
char qbuf[BUFSZ];
Sprintf(qbuf, "Pick up %s?",
- safe_qbuf(qbuf, sizeof("Pick up ?"), doname(obj),
+ safe_qbuf("", sizeof("Pick up ?"), doname(obj),
an(simple_typename(obj->otyp)), something));
switch ((obj->quan < 2L) ? ynaq(qbuf) : ynNaq(qbuf)) {
case 'q': goto end_query; /* out 2 levels */
if (Is_container(cobj)) {
Sprintf(qbuf, "There is %s here, loot it?",
- safe_qbuf(qbuf, sizeof("There is here, loot it?"),
+ safe_qbuf("", sizeof("There is here, loot it?"),
doname(cobj), an(simple_typename(cobj->otyp)),
"a container"));
c = ynq(qbuf);