github pull request #235 - curses symbol set init

Fixes #235

For initial options under curses, specifying 'DECgraphics' as a
boolean rather than as 'symset:DECgraphics' wasn't overriding the
new default 'symset:curses'.  Since previously DECgraphics was
rejected for curses, it's possible that no one noticed.
This commit is contained in:
PatR
2019-10-17 14:38:45 -07:00
parent 0c86965d5e
commit 6182b014ca
5 changed files with 17 additions and 13 deletions

View File

@@ -785,9 +785,9 @@ curses_init_options()
set_option_mod_status("eight_bit_tty", SET_IN_FILE);
/* If we don't have a symset defined, load the curses symset by default */
if (symset[PRIMARY].fallback)
if (!symset[PRIMARY].explicitly)
load_symset("curses", PRIMARY);
if (symset[ROGUESET].fallback)
if (!symset[ROGUESET].explicitly)
load_symset("default", ROGUESET);
#ifdef PDCURSES