about summary refs log tree commit diff stats
path: root/src/UCAux.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-08-17 13:18:55 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1997-08-17 13:18:55 -0400
commitfbcb509d8db6255777742b09da479531108aa8d0 (patch)
treef1b14aa04f7c8eee2464f4575113db0c4c680900 /src/UCAux.c
parent050803d49a91559644e86a4ed38f11ba0afffbe4 (diff)
downloadlynx-snapshots-fbcb509d8db6255777742b09da479531108aa8d0.tar.gz
snapshot of project "lynx", label v2-7-1ac_0-52
Diffstat (limited to 'src/UCAux.c')
-rw-r--r--src/UCAux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/UCAux.c b/src/UCAux.c
index e6d9247f..3eb5fcfe 100644
--- a/src/UCAux.c
+++ b/src/UCAux.c
@@ -69,12 +69,13 @@ PUBLIC BOOL UCCanTranslateFromTo ARGS2(
 
 	if (!strcmp(fromname, "koi8-r") || /* from cyrillic */
 	    !strcmp(fromname, "iso-8859-5") ||
+	    !strcmp(fromname, "cp866") ||
 	    !strcmp(fromname, "windows-1251") ||
 	    !strcmp(fromname, "koi-8")) {
 	    if (strcmp(toname, "iso-8859-5") &&
 		strcmp(toname, "koi8-r") &&
-		strcmp(toname, "windows-1251") &&
-		strcmp(toname, "iso-8859-2"))
+		strcmp(toname, "cp866") &&
+		strcmp(toname, "windows-1251"))
 		return NO;
 	}
     }