From 204cf6bf10f3c85fd0543febcb6469c7c348e9aa Mon Sep 17 00:00:00 2001 From: PatR Date: Thu, 26 Oct 2023 03:39:18 -0700 Subject: [PATCH] comment typos --- src/invent.c | 2 +- src/pager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invent.c b/src/invent.c index a5bdd144b..8152c02e5 100644 --- a/src/invent.c +++ b/src/invent.c @@ -4775,7 +4775,7 @@ tool_being_used(struct obj *obj) { /* * [Should this also include lit potions of oil? They're not tools - * but they are "in use" without being noticeable via obj->oworkmask.] + * but they are "in use" without being noticeable via obj->owornmask.] */ if ((obj->owornmask & (W_TOOL | W_SADDLE)) != 0L) return TRUE; diff --git a/src/pager.c b/src/pager.c index bbe32fd3e..40f80e410 100644 --- a/src/pager.c +++ b/src/pager.c @@ -546,7 +546,7 @@ ice_descr(coordxy x, coordxy y, char *outbuf) int r = (u.xray_range > 2) ? u.xray_range : 2, neardist = (r * r) * 2 - r; /* same as r*r + r*(r-1) */ - iflags.ice_rating = -1; /* secondary output, for ' mention_decor' */ + iflags.ice_rating = -1; /* secondary output, for 'mention_decor' */ if (levl[x][y].typ != ICE) { Sprintf(outbuf, "[ice:%d?]", (int) levl[x][y].typ); } else if ((distu(x, y) > neardist