aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/johab.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/johab.c')
-rw-r--r--iconvdata/johab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconvdata/johab.c b/iconvdata/johab.c
index 6da169438c..6a5d8be68f 100644
--- a/iconvdata/johab.c
+++ b/iconvdata/johab.c
@@ -220,11 +220,11 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
} \
else if (i > 0 && m > 0) \
ch = ((i - 1) * 21 + (m - 1)) * 28 + f + 0xac00; \
- else if (i > 0 && m == 0 & f == 0) \
+ else if (i > 0 && m == 0 && f == 0) \
ch = init_to_ucs[i - 1]; \
- else if (i == 0 && m > 0 & f == 0) \
+ else if (i == 0 && m > 0 && f == 0) \
ch = 0x314e + m; /* 0x314f + m - 1 */ \
- else if (i == 0 && m == 0 & f > 0) \
+ else if (i == 0 && m == 0 && f > 0) \
ch = final_to_ucs[f - 1]; /* round trip?? */ \
else \
{ \