fixes entry for pull request #677 - com_pager

From argrath, have com_pager_core() check for null return from
nhl_init() to pacify some code checker.  If nhl_init() ever fails,
the program will never get far enough to try to use com_pager().

Closes #677
This commit is contained in:
PatR
2022-02-12 07:56:14 -08:00
parent bb5150445a
commit 9389b915a3

View File

@@ -1010,9 +1010,11 @@ giving a prefix keystroke other than 'm' prior to a command that doesn't use
prior revision broke all prefix usage
movement command revamp broke 'm>' and 'm<' on stairs to avoid auto-pickup at
the destination
when trapeffect_selector() returns 2 to caller mintrap(), meant to
signify that the monster was killed in the trap, ensure that
mintrap() returns that value too
when trapeffect_selector() returns 2 to caller mintrap(), meant to signify
that the monster was killed in the trap, ensure that mintrap()
returns that value too
have com_pager() check for failed nhl_init(); probably can't actually happen
because the program would never get that far if lua init was failing
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support