diff --git a/src/artifact.c b/src/artifact.c index a79d828bd..db303b7a9 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 artifact.c $NHDT-Date: 1654717838 2022/06/08 19:50:38 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.190 $ */ +/* NetHack 3.7 artifact.c $NHDT-Date: 1702064500 2023/12/08 19:41:40 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.214 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Robert Patrick Rankin, 2013. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1037,7 +1037,8 @@ undiscovered_artifact(xint16 m) /* display a list of discovered artifacts; return their count */ int -disp_artifact_discoveries(winid tmpwin) /* supplied by dodiscover() */ +disp_artifact_discoveries( + winid tmpwin) /* supplied by dodiscover(); type is NHW_TEXT */ { int i, m, otyp; const char *algnstr; @@ -1050,7 +1051,7 @@ disp_artifact_discoveries(winid tmpwin) /* supplied by dodiscover() */ continue; /* for WIN_ERR, we just count */ if (i == 0) - add_menu_heading(tmpwin, "Artifacts"); + putstr(tmpwin, iflags.menu_headings.attr, "Artifacts"); m = artidisco[i]; otyp = artilist[m].otyp; algnstr = align_str(artilist[m].alignment);