--- nh340orig/src/end.c Thu Mar 21 01:43:06 2002 +++ nh340statcont/src/end.c Fri Feb 21 16:43:46 2003 @@ -893,7 +893,9 @@ char buf[BUFSZ]; for (box = list; box; box = box->nobj) { +#ifndef STATCONT if (Is_container(box) && box->otyp != BAG_OF_TRICKS) { +#endif if (box->cobj) { winid tmpwin = create_nhwindow(NHW_MENU); Sprintf(buf, "Contents of %s:", the(xname(box))); @@ -911,11 +913,17 @@ destroy_nhwindow(tmpwin); if (all_containers) container_contents(box->cobj, identified, TRUE); - } else { + } else +#ifdef STATCONT + if (Is_container(box)) +#endif + { pline("%s empty.", Tobjnam(box, "are")); display_nhwindow(WIN_MESSAGE, FALSE); } - } +#ifndef STATCONT + } /* Is_container && not bag of tricks */ +#endif if (!all_containers) break; }