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

@@ -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;
}