more follow-up (trunk only)

Based on feedback, make the load_symset() call easier
to follow.
This commit is contained in:
nethack.allison
2006-09-21 03:47:00 +00:00
parent b5648a7bb3
commit f0bf6c7653
6 changed files with 19 additions and 22 deletions

View File

@@ -610,9 +610,9 @@ initoptions()
/* this detects the IBM-compatible console on most 386 boxes */
if ((opts = nh_getenv("TERM")) && !strncmp(opts, "AT", 2)) {
#ifdef ASCIIGRAPH
if (!symset) load_symset("IBMGraphics", FALSE);
if (!symset) load_symset("IBMGraphics", PRIMARY);
if (!roguesymset) load_symset("RogueIBM", TRUE);
if (!roguesymset) load_symset("RogueIBM", ROGUESET);
switch_graphics(TRUE);
#endif
@@ -628,7 +628,7 @@ initoptions()
!strncmpi(opts, "vt", 2) && AS && AE &&
index(AS, '\016') && index(AE, '\017')) {
# ifdef ASCIIGRAPH
if (!symset) load_symset("DECGraphics", FALSE);
if (!symset) load_symset("DECGraphics", PRIMARY);
@@ -639,7 +639,7 @@ initoptions()
#endif /* UNIX || VMS */
#ifdef MAC_GRAPHICS_ENV
if (!symset) load_symset("MACGraphics", FALSE);
if (!symset) load_symset("MACGraphics", PRIMARY);
switch_graphics(TRUE);
#endif /* MAC_GRAPHICS_ENV */
flags.menu_style = MENU_FULL;