again, looking for that failure condition: pager.c pickup.c

This commit is contained in:
keni
2011-12-30 23:58:48 +00:00
parent 623119a4b6
commit 86e9b65d20
2 changed files with 5 additions and 5 deletions

View File

@@ -881,7 +881,7 @@ dowhatdoes()
#endif
reslt = dowhatdoes_core(q, bufr);
if (reslt)
pline("%s", reslt);
pline1(reslt);
else
pline("I've never heard of such commands.");
return 0;

View File

@@ -87,7 +87,7 @@ boolean here; /* flag for type of obj list linkage */
if (!otmp) {
impossible("simple_look(null)");
} else if (!(here ? otmp->nexthere : otmp->nobj)) {
pline("%s", doname(otmp));
pline1(doname(otmp));
} else {
winid tmpwin = create_nhwindow(NHW_MENU);
putstr(tmpwin, 0, "");
@@ -2321,7 +2321,7 @@ int held;
/* out-only or out before in */
if (loot_out && !loot_in_first) {
if (!Has_contents(current_container)) {
pline("%s", emptymsg); /* <whatever> is empty. */
pline1(emptymsg); /* <whatever> is empty. */
if (!current_container->cknown) used = 1;
current_container->cknown = 1;
} else {
@@ -2381,7 +2381,7 @@ int held;
/* out after in */
if (loot_out && loot_in_first) {
if (!Has_contents(current_container)) {
pline("%s", emptymsg); /* <whatever> is empty. */
pline1(emptymsg); /* <whatever> is empty. */
if (!current_container->cknown) used = 1;
current_container->cknown = 1;
} else {
@@ -2689,7 +2689,7 @@ dotip()
else if (cobj->otyp == STATUE)
pline("Nothing interesting happens.");
else
pline(nothing_happens);
pline1(nothing_happens);
return 0;
}