From: PatR Date: Sat, 12 Feb 2022 15:56:14 +0000 (-0800) Subject: fixes entry for pull request #677 - com_pager X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9389b915a3788a2108008800e6278d26085b28e2;p=nethack 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 --- diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 4e6bea5e0..d39c13dea 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -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