diff options
author | Choe Hwanjin <choe.hwanjin@gmail.com> | 2006-02-25 17:19:00 +0900 |
---|---|---|
committer | Choe Hwanjin <choe.hwanjin@gmail.com> | 2006-02-25 17:19:00 +0900 |
commit | d7efaec14be1154da6d9d3991a34e6cb8dda0e1b (patch) | |
tree | a9bb76e5cf0998faa71e51939ffa1cbb3bccbddb | |
parent | 1b0c5c4ebcd43e8b037dac6f3df9893e94efa43a (diff) | |
download | libhangul-d7efaec14be1154da6d9d3991a34e6cb8dda0e1b.tar.gz |
hangul_ic_push 가 실패할 경우 한번더 push함
ㅆㅠ 나 ㅠㅆ 를 입력할 때 발생하는 문제를 수정함
git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@57 8f00fcd2-89fc-0310-932e-b01be5b65e01
-rw-r--r-- | hangul/hangulinputcontext.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hangul/hangulinputcontext.c b/hangul/hangulinputcontext.c index cc7401d..df831c1 100644 --- a/hangul/hangulinputcontext.c +++ b/hangul/hangulinputcontext.c @@ -420,7 +420,9 @@ hangul_ic_process_jamo(HangulInputContext *hic, ucschar ch) } } else { if (!hangul_ic_push(hic, ch)) { - return false; + if (!hangul_ic_push(hic, ch)) { + return false; + } } } } else if (hangul_is_jungseong(ch)) { @@ -448,7 +450,9 @@ hangul_ic_process_jamo(HangulInputContext *hic, ucschar ch) } } else { if (!hangul_ic_push(hic, ch)) { - return false; + if (!hangul_ic_push(hic, ch)) { + return false; + } } } } else { |