mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-06 02:51:00 +01:00
fix gint/gsize confusion.
Fri Dec 5 12:09:13 2003 Manish Singh <yosh@gimp.org> * glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.
This commit is contained in:
parent
45b1590923
commit
267031000f
@ -1,3 +1,7 @@
|
|||||||
|
Fri Dec 5 12:09:13 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.
|
||||||
|
|
||||||
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
||||||
|
|
||||||
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
||||||
@ -29,7 +33,7 @@ Wed Nov 26 16:45:16 2003 Roozbeh Pournader <roozbeh@sharif.edu>
|
|||||||
|
|
||||||
* tests/strtod-test.c: Fixed the tests to catch the above.
|
* tests/strtod-test.c: Fixed the tests to catch the above.
|
||||||
|
|
||||||
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
||||||
|
|
||||||
* glib/giowin32.c: Bind inter-thread comminication
|
* glib/giowin32.c: Bind inter-thread comminication
|
||||||
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Fri Dec 5 12:09:13 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.
|
||||||
|
|
||||||
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
||||||
|
|
||||||
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
||||||
@ -29,7 +33,7 @@ Wed Nov 26 16:45:16 2003 Roozbeh Pournader <roozbeh@sharif.edu>
|
|||||||
|
|
||||||
* tests/strtod-test.c: Fixed the tests to catch the above.
|
* tests/strtod-test.c: Fixed the tests to catch the above.
|
||||||
|
|
||||||
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
||||||
|
|
||||||
* glib/giowin32.c: Bind inter-thread comminication
|
* glib/giowin32.c: Bind inter-thread comminication
|
||||||
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Fri Dec 5 12:09:13 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.
|
||||||
|
|
||||||
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
||||||
|
|
||||||
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
||||||
@ -29,7 +33,7 @@ Wed Nov 26 16:45:16 2003 Roozbeh Pournader <roozbeh@sharif.edu>
|
|||||||
|
|
||||||
* tests/strtod-test.c: Fixed the tests to catch the above.
|
* tests/strtod-test.c: Fixed the tests to catch the above.
|
||||||
|
|
||||||
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
||||||
|
|
||||||
* glib/giowin32.c: Bind inter-thread comminication
|
* glib/giowin32.c: Bind inter-thread comminication
|
||||||
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Fri Dec 5 12:09:13 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.
|
||||||
|
|
||||||
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
||||||
|
|
||||||
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
||||||
@ -29,7 +33,7 @@ Wed Nov 26 16:45:16 2003 Roozbeh Pournader <roozbeh@sharif.edu>
|
|||||||
|
|
||||||
* tests/strtod-test.c: Fixed the tests to catch the above.
|
* tests/strtod-test.c: Fixed the tests to catch the above.
|
||||||
|
|
||||||
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
||||||
|
|
||||||
* glib/giowin32.c: Bind inter-thread comminication
|
* glib/giowin32.c: Bind inter-thread comminication
|
||||||
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Fri Dec 5 12:09:13 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.
|
||||||
|
|
||||||
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
||||||
|
|
||||||
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
||||||
@ -29,7 +33,7 @@ Wed Nov 26 16:45:16 2003 Roozbeh Pournader <roozbeh@sharif.edu>
|
|||||||
|
|
||||||
* tests/strtod-test.c: Fixed the tests to catch the above.
|
* tests/strtod-test.c: Fixed the tests to catch the above.
|
||||||
|
|
||||||
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
||||||
|
|
||||||
* glib/giowin32.c: Bind inter-thread comminication
|
* glib/giowin32.c: Bind inter-thread comminication
|
||||||
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Fri Dec 5 12:09:13 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.
|
||||||
|
|
||||||
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
2003-12-04 Noah Levitt <nlevitt@columbia.edu>
|
||||||
|
|
||||||
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
* glib/gunidecomp.c: Add hangul composition and decomposition to
|
||||||
@ -29,7 +33,7 @@ Wed Nov 26 16:45:16 2003 Roozbeh Pournader <roozbeh@sharif.edu>
|
|||||||
|
|
||||||
* tests/strtod-test.c: Fixed the tests to catch the above.
|
* tests/strtod-test.c: Fixed the tests to catch the above.
|
||||||
|
|
||||||
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
|
||||||
|
|
||||||
* glib/giowin32.c: Bind inter-thread comminication
|
* glib/giowin32.c: Bind inter-thread comminication
|
||||||
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
|
||||||
|
@ -357,7 +357,7 @@ _g_utf8_normalize_wc (const gchar *str,
|
|||||||
|
|
||||||
if (wc >= 0xac00 && wc <= 0xd7af)
|
if (wc >= 0xac00 && wc <= 0xd7af)
|
||||||
{
|
{
|
||||||
gint result_len;
|
gsize result_len;
|
||||||
decompose_hangul (wc, NULL, &result_len);
|
decompose_hangul (wc, NULL, &result_len);
|
||||||
n_wc += result_len;
|
n_wc += result_len;
|
||||||
}
|
}
|
||||||
@ -388,7 +388,7 @@ _g_utf8_normalize_wc (const gchar *str,
|
|||||||
|
|
||||||
if (wc >= 0xac00 && wc <= 0xd7af)
|
if (wc >= 0xac00 && wc <= 0xd7af)
|
||||||
{
|
{
|
||||||
gint result_len;
|
gsize result_len;
|
||||||
decompose_hangul (wc, wc_buffer + n_wc, &result_len);
|
decompose_hangul (wc, wc_buffer + n_wc, &result_len);
|
||||||
n_wc += result_len;
|
n_wc += result_len;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user