diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-05-18 13:41:11 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-05-18 13:41:11 +0000 |
commit | c8099fa3e9893aa49c7d7b854e95198d7a942a53 (patch) | |
tree | cfe8ce8a9adc496ef691e0d64ea82ac54e495314 /glib/gunidecomp.c | |
parent | 0c04a92b2ba019acb142561319875ca4973328cd (diff) | |
download | glib-c8099fa3e9893aa49c7d7b854e95198d7a942a53.tar.gz |
Correct the end of the Hangul Syllables range, from 0xd7af to 0xd7a3, in
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c: Correct the end of the Hangul
Syllables range, from 0xd7af to 0xd7a3, in several
places. (#301984, Changwoo Ryu)
Diffstat (limited to 'glib/gunidecomp.c')
-rw-r--r-- | glib/gunidecomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/gunidecomp.c b/glib/gunidecomp.c index a7ccfc93a..3bef4c8b0 100644 --- a/glib/gunidecomp.c +++ b/glib/gunidecomp.c @@ -217,7 +217,7 @@ g_unicode_canonical_decomposition (gunichar ch, gunichar *r; /* Hangul syllable */ - if (ch >= 0xac00 && ch <= 0xd7af) + if (ch >= 0xac00 && ch <= 0xd7a3) { decompose_hangul (ch, NULL, result_len); r = g_malloc (*result_len * sizeof (gunichar)); @@ -356,7 +356,7 @@ _g_utf8_normalize_wc (const gchar *str, const gchar *decomp; gunichar wc = g_utf8_get_char (p); - if (wc >= 0xac00 && wc <= 0xd7af) + if (wc >= 0xac00 && wc <= 0xd7a3) { gsize result_len; decompose_hangul (wc, NULL, &result_len); @@ -387,7 +387,7 @@ _g_utf8_normalize_wc (const gchar *str, int cc; gsize old_n_wc = n_wc; - if (wc >= 0xac00 && wc <= 0xd7af) + if (wc >= 0xac00 && wc <= 0xd7a3) { gsize result_len; decompose_hangul (wc, wc_buffer + n_wc, &result_len); |