diff options
Diffstat (limited to 'src/UCAux.c')
-rw-r--r-- | src/UCAux.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/UCAux.c b/src/UCAux.c index 89911909..3a8e9158 100644 --- a/src/UCAux.c +++ b/src/UCAux.c @@ -1,5 +1,5 @@ /* - * $LynxId: UCAux.c,v 1.38 2009/01/01 00:42:23 tom Exp $ + * $LynxId: UCAux.c,v 1.39 2009/01/03 18:46:33 tom Exp $ */ #include <HTUtils.h> @@ -342,14 +342,19 @@ void UCSetBoxChars(int cset, * This is important if we have loaded a font, which would * confuse curses. */ -#ifdef EXP_CHARTRANS_AUTOSWITCH /* US-ASCII vs Latin-1 is safe (usually) */ if ((cset == US_ASCII || cset == LATIN1) && (linedrawing_char_set == US_ASCII || linedrawing_char_set == LATIN1)) { +#if (defined(FANCY_CURSES) && defined(A_ALTCHARSET)) || defined(USE_SLANG) + vert_in = 0; + hori_in = 0; +#else ; +#endif } +#ifdef EXP_CHARTRANS_AUTOSWITCH #if defined(NCURSES_VERSION) || defined(HAVE_TIGETSTR) else { static BOOL first = TRUE; |