mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 07:38:54 +02:00
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)
This commit is contained in:
committed by
Matthias Clasen
parent
0c04a92b2b
commit
c8099fa3e9
@@ -1,3 +1,9 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2005-05-17 Matthias Clasen <mclasen@redhat.com>
|
2005-05-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* tests/tree-test.c (main): Check the return values of
|
* tests/tree-test.c (main): Check the return values of
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2005-05-17 Matthias Clasen <mclasen@redhat.com>
|
2005-05-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* tests/tree-test.c (main): Check the return values of
|
* tests/tree-test.c (main): Check the return values of
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2005-05-17 Matthias Clasen <mclasen@redhat.com>
|
2005-05-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* tests/tree-test.c (main): Check the return values of
|
* tests/tree-test.c (main): Check the return values of
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2005-05-17 Matthias Clasen <mclasen@redhat.com>
|
2005-05-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* tests/tree-test.c (main): Check the return values of
|
* tests/tree-test.c (main): Check the return values of
|
||||||
|
@@ -217,7 +217,7 @@ g_unicode_canonical_decomposition (gunichar ch,
|
|||||||
gunichar *r;
|
gunichar *r;
|
||||||
|
|
||||||
/* Hangul syllable */
|
/* Hangul syllable */
|
||||||
if (ch >= 0xac00 && ch <= 0xd7af)
|
if (ch >= 0xac00 && ch <= 0xd7a3)
|
||||||
{
|
{
|
||||||
decompose_hangul (ch, NULL, result_len);
|
decompose_hangul (ch, NULL, result_len);
|
||||||
r = g_malloc (*result_len * sizeof (gunichar));
|
r = g_malloc (*result_len * sizeof (gunichar));
|
||||||
@@ -356,7 +356,7 @@ _g_utf8_normalize_wc (const gchar *str,
|
|||||||
const gchar *decomp;
|
const gchar *decomp;
|
||||||
gunichar wc = g_utf8_get_char (p);
|
gunichar wc = g_utf8_get_char (p);
|
||||||
|
|
||||||
if (wc >= 0xac00 && wc <= 0xd7af)
|
if (wc >= 0xac00 && wc <= 0xd7a3)
|
||||||
{
|
{
|
||||||
gsize result_len;
|
gsize result_len;
|
||||||
decompose_hangul (wc, NULL, &result_len);
|
decompose_hangul (wc, NULL, &result_len);
|
||||||
@@ -387,7 +387,7 @@ _g_utf8_normalize_wc (const gchar *str,
|
|||||||
int cc;
|
int cc;
|
||||||
gsize old_n_wc = n_wc;
|
gsize old_n_wc = n_wc;
|
||||||
|
|
||||||
if (wc >= 0xac00 && wc <= 0xd7af)
|
if (wc >= 0xac00 && wc <= 0xd7a3)
|
||||||
{
|
{
|
||||||
gsize result_len;
|
gsize result_len;
|
||||||
decompose_hangul (wc, wc_buffer + n_wc, &result_len);
|
decompose_hangul (wc, wc_buffer + n_wc, &result_len);
|
||||||
|
Reference in New Issue
Block a user