From c8099fa3e9893aa49c7d7b854e95198d7a942a53 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 18 May 2005 13:41:11 +0000 Subject: [PATCH] Correct the end of the Hangul Syllables range, from 0xd7af to 0xd7a3, in 2005-05-18 Matthias Clasen * glib/gunidecomp.c: Correct the end of the Hangul Syllables range, from 0xd7af to 0xd7a3, in several places. (#301984, Changwoo Ryu) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ glib/gunidecomp.c | 6 +++--- 5 files changed, 27 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 632fcc42..2a69c1a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-18 Matthias Clasen + + * glib/gunidecomp.c: Correct the end of the Hangul + Syllables range, from 0xd7af to 0xd7a3, in several + places. (#301984, Changwoo Ryu) + 2005-05-17 Matthias Clasen * tests/tree-test.c (main): Check the return values of diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 632fcc42..2a69c1a1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2005-05-18 Matthias Clasen + + * glib/gunidecomp.c: Correct the end of the Hangul + Syllables range, from 0xd7af to 0xd7a3, in several + places. (#301984, Changwoo Ryu) + 2005-05-17 Matthias Clasen * tests/tree-test.c (main): Check the return values of diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 632fcc42..2a69c1a1 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2005-05-18 Matthias Clasen + + * glib/gunidecomp.c: Correct the end of the Hangul + Syllables range, from 0xd7af to 0xd7a3, in several + places. (#301984, Changwoo Ryu) + 2005-05-17 Matthias Clasen * tests/tree-test.c (main): Check the return values of diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 632fcc42..2a69c1a1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2005-05-18 Matthias Clasen + + * glib/gunidecomp.c: Correct the end of the Hangul + Syllables range, from 0xd7af to 0xd7a3, in several + places. (#301984, Changwoo Ryu) + 2005-05-17 Matthias Clasen * tests/tree-test.c (main): Check the return values of diff --git a/glib/gunidecomp.c b/glib/gunidecomp.c index a7ccfc93..3bef4c8b 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); -- 2.34.1