From ab1d1ae525ff4bed44e3ca2030fa655ad7c5bc7d Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 26 Aug 1999 13:39:32 -0400 Subject: snapshot of project "lynx", label v2-8-3dev_7 --- WWW/Library/Implementation/HTPlain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'WWW/Library/Implementation/HTPlain.c') diff --git a/WWW/Library/Implementation/HTPlain.c b/WWW/Library/Implementation/HTPlain.c index a1a8a136..26d11f4c 100644 --- a/WWW/Library/Implementation/HTPlain.c +++ b/WWW/Library/Implementation/HTPlain.c @@ -478,7 +478,7 @@ PRIVATE void HTPlain_write ARGS3(HTStream *, me, CONST char*, s, int, l) /****************************************************************** * I. LATIN-1 OR UCS2 TO DISPLAY CHARSET ******************************************************************/ - } else if ((chk = (me->T.trans_from_uni && code >= 160)) && + } else if ((chk = (BOOL) (me->T.trans_from_uni && code >= 160)) && (uck = UCTransUniChar(code, me->outUCLYhndl)) >= ' ' && /* S/390 -- gil -- 0464 */ uck < 256) { @@ -542,7 +542,7 @@ PRIVATE void HTPlain_write ARGS3(HTStream *, me, CONST char*, s, int, l) ** seek a translation for that. Otherwise, or if the ** translation fails, use UHHH notation. - FM */ - if ((chk = (me->outUCLYhndl != + if ((chk = (BOOL) (me->outUCLYhndl != UCGetLYhndl_byMIME("us-ascii"))) && (uck = UCTransUniChar(code, UCGetLYhndl_byMIME("us-ascii"))) -- cgit 1.4.1-2-gfad0