From a58671905ec1f718b21d14b8e315a1181772a0c2 Mon Sep 17 00:00:00 2001 From: David Crosby Date: Sat, 25 Jul 2015 23:13:31 -0600 Subject: Add missing comparision that made if always true --- libwc/iso2022.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libwc') diff --git a/libwc/iso2022.c b/libwc/iso2022.c index 33d9a19..385adde 100644 --- a/libwc/iso2022.c +++ b/libwc/iso2022.c @@ -463,7 +463,7 @@ wc_push_to_iso2022(Str os, wc_wchar_t cc, wc_status *st) cc.code = (wc_uint32)WC_REPLACE[0]; break; default: - if ((cc.ccs == WC_CCS_JOHAB || WC_CCS_JOHAB_1 || + if ((cc.ccs == WC_CCS_JOHAB || cc.ccs == WC_CCS_JOHAB_1 || cc.ccs == WC_CCS_JOHAB_2 || cc.ccs == WC_CCS_JOHAB_3) && cs94w_gmap[WC_F_KS_X_1001 - WC_F_ISO_BASE]) { wc_wchar_t cc2 = wc_johab_to_ksx1001(cc); -- cgit v1.2.3