]> granicus.if.org Git - nethack/commit
couple of curses symbol handling bits
authorPatR <rankin@nethack.org>
Thu, 17 Oct 2019 12:07:03 +0000 (05:07 -0700)
committerPatR <rankin@nethack.org>
Thu, 17 Oct 2019 12:07:03 +0000 (05:07 -0700)
commit61b976e0d57a5b818b4264f149b06e3119b95ae3
treebb8afb41ddacedb6590a07cfe056e53c3cb970fe
parent3e368b9a51c496ab2ae35c247fa7d0e23aeafe66
couple of curses symbol handling bits

Primary and rogue symbols were being set to default if primary hadn't
been given a value, possibly clobbering rogue symbols if those had
been given a value.  Initialize them independenly.

Return early from curses_convert_glyph() if the value doesn't have
the 8th bit set since it now deals exclusively with DECgraphics
handling.  Force a sane value for returning early on rogue level.
win/curses/cursinit.c
win/curses/cursmisc.c