aboutsummaryrefslogtreecommitdiffstats
path: root/libwc
diff options
context:
space:
mode:
authorDavid Crosby <dave@dafyddcrosby.com>2015-07-26 05:13:31 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-08-11 12:59:27 +0000
commita58671905ec1f718b21d14b8e315a1181772a0c2 (patch)
treee91bbea863c44679a7643b05734df4efecc42829 /libwc
parentUse fgetc in while loops, use int instead of char (diff)
downloadw3m-a58671905ec1f718b21d14b8e315a1181772a0c2.tar.gz
w3m-a58671905ec1f718b21d14b8e315a1181772a0c2.zip
Add missing comparision that made if always true
Diffstat (limited to 'libwc')
-rw-r--r--libwc/iso2022.c2
1 files changed, 1 insertions, 1 deletions
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);