]> granicus.if.org Git - nethack/commitdiff
pull request #798 - fix typo in disclosure \
authorPatR <rankin@nethack.org>
Sat, 11 Jun 2022 22:13:30 +0000 (15:13 -0700)
committerPatR <rankin@nethack.org>
Sat, 11 Jun 2022 22:13:30 +0000 (15:13 -0700)
of vanquired monsters.

Pull request from janne-hmp:  the test for how many spaces to insert
in front of "the <unique monster>" couldn't match prefix "the "
because it was specifying a length of 3 instead of the 4 required to
include the trailing space.

Despite that clear error, the code worked as intended because the
default value of 0 is the same as an explicit value of 0 it would
have gotten if it had matched "the ".  So there is no change in the
resulting vanquished monsters display.

Closes #798


Trivial merge