others_check() comment

Starting out replacing ambiguous pronoun "it" since it might seem
to be referring to "--More--" rather than to "...", then ended up
rewriting whole paragraph.
This commit is contained in:
PatR
2020-07-10 01:37:46 -07:00
parent 0bd2c3154d
commit 581a27bf98

View File

@@ -1,4 +1,4 @@
/* NetHack 3.7 rumors.c $NHDT-Date: 1594347790 2020/07/10 02:23:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.55 $ */ /* NetHack 3.7 rumors.c $NHDT-Date: 1594370241 2020/07/10 08:37:21 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.56 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2012. */ /*-Copyright (c) Robert Patrick Rankin, 2012. */
/* NetHack may be freely redistributed. See license for details. */ /* NetHack may be freely redistributed. See license for details. */
@@ -352,12 +352,14 @@ winid *winptr;
if (entrycount == 2) { if (entrycount == 2) {
putstr(tmpwin, 0, "(only two entries)"); putstr(tmpwin, 0, "(only two entries)");
} else { } else {
/* showing an elipsis three times (once for each file) /* showing an elipsis avoids ambiguity about whether
results in total size being 24 lines, forcing a there are other lines; doing so three times (once for
--More-- prompt if user only has a 24 line screen; each file) results in total output being 24 lines,
that doesn't look very good but isn't incorrect; forcing a --More-- prompt if using a 24 line screen;
including it avoids ambiguity about whether there displaying 23 lines and --More-- followed by second
are other lines */ page with 1 line doesn't look very good but isn't
incorrect, and taller screens where that won't be an
issue are more common than 24 line terminals nowadays */
if (entrycount > 3) if (entrycount > 3)
putstr(tmpwin, 0, " ..."); putstr(tmpwin, 0, " ...");
putstr(tmpwin, 0, xbuf); /* already decrypted */ putstr(tmpwin, 0, xbuf); /* already decrypted */