From: nethack.allison Date: Mon, 25 Feb 2002 20:24:04 +0000 (+0000) Subject: message follow-up X-Git-Tag: MOVE2GIT~3114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2272e70d395d7b7dbbe815bd97d10e6148d9fbc6;p=nethack message follow-up --- diff --git a/src/shk.c b/src/shk.c index 2d9bcc215..b2e5d26ac 100644 --- a/src/shk.c +++ b/src/shk.c @@ -2686,7 +2686,8 @@ move_on: (!ltmp && cltmp && only_partially_your_contents) ? " your items in" : (!ltmp && cltmp) ? " the contents of" : "", obj->unpaid ? "the" : "your", xname(obj), - (obj->quan == 1L && !only_partially_your_contents) ? + (obj->quan == 1L && + !(!ltmp && cltmp && only_partially_your_contents)) ? "it" : "them"); } else qbuf[0] = '\0'; /* just to pacify lint */ @@ -2704,7 +2705,7 @@ move_on: subfrombill(obj, shkp); pay(-offer, shkp); shk_names_obj(shkp, obj, (sell_how != SELL_NORMAL) ? - only_partially_your_contents ? + (!ltmp && cltmp && only_partially_your_contents) ? "sold some items inside %s for %ld gold pieces%s.%s" : "sold %s for %ld gold piece%s.%s" : "relinquish %s and receive %ld gold piece%s in compensation.%s",