tty extmenu option
authornethack.rankin <nethack.rankin>
Sat, 14 Apr 2012 11:40:04 +0000 (11:40 +0000)
committernethack.rankin <nethack.rankin>
Sat, 14 Apr 2012 11:40:04 +0000 (11:40 +0000)
commit2196861cc611e2e29031b0921a0a6efd3ac9a6ec
treed3ec2c2fdbbea0f0370b5459f43cfece589d3a52
parent4c3939bb767d310755f5f1a4f5afadc5dd7324fe
tty extmenu option

     When the 'extmenu' boolean was set, typing '#' in wizard mode triggered
a crash.  The total number of extended commands exceeded the capacity of
extcmd_via_menu() and the code it had to check for that was only in effect
if DEBUG was defined.  This boosts the limit from 40 (actally 38) to 50 (48)
and enables the checking code for BETA as well as for DEBUG.

     Almost all of this diff is indentation.
src/cmd.c