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
+1 -1
View File
@@ -881,7 +881,7 @@ dowhatdoes()
#endif #endif
reslt = dowhatdoes_core(q, bufr); reslt = dowhatdoes_core(q, bufr);
if (reslt) if (reslt)
pline("%s", reslt); pline1(reslt);
else else
pline("I've never heard of such commands."); pline("I've never heard of such commands.");
return 0; return 0;
+4 -4
View File
@@ -87,7 +87,7 @@ boolean here; /* flag for type of obj list linkage */
if (!otmp) { if (!otmp) {
impossible("simple_look(null)"); impossible("simple_look(null)");
} else if (!(here ? otmp->nexthere : otmp->nobj)) { } else if (!(here ? otmp->nexthere : otmp->nobj)) {
pline("%s", doname(otmp)); pline1(doname(otmp));
} else { } else {
winid tmpwin = create_nhwindow(NHW_MENU); winid tmpwin = create_nhwindow(NHW_MENU);
putstr(tmpwin, 0, ""); putstr(tmpwin, 0, "");
@@ -2321,7 +2321,7 @@ int held;
/* out-only or out before in */ /* out-only or out before in */
if (loot_out && !loot_in_first) { if (loot_out && !loot_in_first) {
if (!Has_contents(current_container)) { if (!Has_contents(current_container)) {
pline("%s", emptymsg); /* <whatever> is empty. */ pline1(emptymsg); /* <whatever> is empty. */
if (!current_container->cknown) used = 1; if (!current_container->cknown) used = 1;
current_container->cknown = 1; current_container->cknown = 1;
} else { } else {
@@ -2381,7 +2381,7 @@ int held;
/* out after in */ /* out after in */
if (loot_out && loot_in_first) { if (loot_out && loot_in_first) {
if (!Has_contents(current_container)) { if (!Has_contents(current_container)) {
pline("%s", emptymsg); /* <whatever> is empty. */ pline1(emptymsg); /* <whatever> is empty. */
if (!current_container->cknown) used = 1; if (!current_container->cknown) used = 1;
current_container->cknown = 1; current_container->cknown = 1;
} else { } else {
@@ -2689,7 +2689,7 @@ dotip()
else if (cobj->otyp == STATUE) else if (cobj->otyp == STATUE)
pline("Nothing interesting happens."); pline("Nothing interesting happens.");
else else
pline(nothing_happens); pline1(nothing_happens);
return 0; return 0;
} }