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:
Manish Singh 2003-12-05 20:09:34 +00:00 committed by Manish Singh
parent 45b1590923
commit 267031000f
7 changed files with 32 additions and 8 deletions

View File

@ -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>
* 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.
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
sockets to INADDR_LOOPBACK instead of INADDR_ANY.

View File

@ -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>
* 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.
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
sockets to INADDR_LOOPBACK instead of INADDR_ANY.

View File

@ -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>
* 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.
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
sockets to INADDR_LOOPBACK instead of INADDR_ANY.

View File

@ -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>
* 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.
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
sockets to INADDR_LOOPBACK instead of INADDR_ANY.

View File

@ -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>
* 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.
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
sockets to INADDR_LOOPBACK instead of INADDR_ANY.

View File

@ -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>
* 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.
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
sockets to INADDR_LOOPBACK instead of INADDR_ANY.

View File

@ -357,7 +357,7 @@ _g_utf8_normalize_wc (const gchar *str,
if (wc >= 0xac00 && wc <= 0xd7af)
{
gint result_len;
gsize result_len;
decompose_hangul (wc, NULL, &result_len);
n_wc += result_len;
}
@ -388,7 +388,7 @@ _g_utf8_normalize_wc (const gchar *str,
if (wc >= 0xac00 && wc <= 0xd7af)
{
gint result_len;
gsize result_len;
decompose_hangul (wc, wc_buffer + n_wc, &result_len);
n_wc += result_len;
}