about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFile.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-12-18 17:31:01 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1997-12-18 17:31:01 -0500
commitb6c832d07f5a1c68607a9cff0da25cee0de89dad (patch)
tree46428c4ecb61ce53eccb5b9c367a917e9e6dba9d /WWW/Library/Implementation/HTFile.c
parent97d3287af85e3890f03d2a48474de0d1a431b676 (diff)
downloadlynx-snapshots-b6c832d07f5a1c68607a9cff0da25cee0de89dad.tar.gz
snapshot of project "lynx", label v2-7-1ac_0-102
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r--WWW/Library/Implementation/HTFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index ac0d2874..a4eae4a7 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -873,7 +873,7 @@ PUBLIC HTFormat HTCharsetFormat ARGS3(
 	*cp4 = '\0';
 	cp4 = cp3;
 	chndl = UCGetLYhndl_byMIME(cp3);
-	if (UCCanTranslateFromTo(chndl, current_char_set)) {
+	if (UCCanTranslateFromTo(chndl, current_char_set) != TQ_NO) {
 	    chartrans_ok = YES;
 	    *cp1 = '\0';
 	    format = HTAtom_for(cp);
@@ -886,7 +886,7 @@ PUBLIC HTFormat HTCharsetFormat ARGS3(
 	    **  Got something but we don't recognize it.
 	    */
 	    chndl = UCLYhndl_for_unrec;
-	    if (UCCanTranslateFromTo(chndl, current_char_set)) {
+	    if (UCCanTranslateFromTo(chndl, current_char_set) != TQ_NO) {
 		chartrans_ok = YES;
 		HTAnchor_setUCInfoStage(anchor, chndl,
 					UCT_STAGE_MIME,