about summary refs log tree commit diff stats
path: root/src/UCAux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/UCAux.c')
-rw-r--r--src/UCAux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UCAux.c b/src/UCAux.c
index d0323233..a88ea273 100644
--- a/src/UCAux.c
+++ b/src/UCAux.c
@@ -94,12 +94,12 @@ PUBLIC UCTQ_t UCCanTranslateFromTo ARGS2(
 	if (!strcmp(fromname, "koi8-r") || /* from cyrillic */
 	    !strcmp(fromname, "iso-8859-5") ||
 	    !strcmp(fromname, "cp866") ||
-	    !strcmp(fromname, "windows-1251") ||
+	    !strcmp(fromname, "cp1251") ||
 	    !strcmp(fromname, "koi-8")) {
 	    if (strcmp(toname, "iso-8859-5") &&
 		strcmp(toname, "koi8-r") &&
 		strcmp(toname, "cp866") &&
-		strcmp(toname, "windows-1251"))
+		strcmp(toname, "cp1251"))
 		tqmax = TQ_POOR;
 	}
 	return ((LYCharSet_UC[from].UChndl >= 0) ? tqmax : tqmin);