Correct source and destination charset parameter order in g_convert()

2004-08-19  Tor Lillqvist  <tml@iki.fi>

	* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
	source and destination charset parameter order in g_convert()
	call. (#150394, possibly also #141124)
This commit is contained in:
Tor Lillqvist 2004-08-19 23:38:38 +00:00 committed by Tor Lillqvist
parent 3b1cf9d237
commit c61e425b91
6 changed files with 33 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-08-19 Tor Lillqvist <tml@iki.fi>
* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
source and destination charset parameter order in g_convert()
call. (#150394, possibly also #141124)
2004-08-20 Jon K Hellan <hellan@acm.org>
* glib/goption.h: Remove trailing commas.

View File

@ -1,3 +1,9 @@
2004-08-19 Tor Lillqvist <tml@iki.fi>
* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
source and destination charset parameter order in g_convert()
call. (#150394, possibly also #141124)
2004-08-20 Jon K Hellan <hellan@acm.org>
* glib/goption.h: Remove trailing commas.

View File

@ -1,3 +1,9 @@
2004-08-19 Tor Lillqvist <tml@iki.fi>
* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
source and destination charset parameter order in g_convert()
call. (#150394, possibly also #141124)
2004-08-20 Jon K Hellan <hellan@acm.org>
* glib/goption.h: Remove trailing commas.

View File

@ -1,3 +1,9 @@
2004-08-19 Tor Lillqvist <tml@iki.fi>
* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
source and destination charset parameter order in g_convert()
call. (#150394, possibly also #141124)
2004-08-20 Jon K Hellan <hellan@acm.org>
* glib/goption.h: Remove trailing commas.

View File

@ -1,3 +1,9 @@
2004-08-19 Tor Lillqvist <tml@iki.fi>
* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
source and destination charset parameter order in g_convert()
call. (#150394, possibly also #141124)
2004-08-20 Jon K Hellan <hellan@acm.org>
* glib/goption.h: Remove trailing commas.

View File

@ -84,8 +84,8 @@ g_utf8_collate (const gchar *str1,
}
else
{
gchar *str1_locale = g_convert (str1_norm, -1, "UTF-8", charset, NULL, NULL, NULL);
gchar *str2_locale = g_convert (str2_norm, -1, "UTF-8", charset, NULL, NULL, NULL);
gchar *str1_locale = g_convert (str1_norm, -1, charset, "UTF-8", NULL, NULL, NULL);
gchar *str2_locale = g_convert (str2_norm, -1, charset, "UTF-8", NULL, NULL, NULL);
if (str1_locale && str2_locale)
result = strcoll (str1_locale, str2_locale);
@ -226,7 +226,7 @@ g_utf8_collate_key (const gchar *str,
}
else
{
gchar *str_locale = g_convert (str_norm, -1, "UTF-8", charset, NULL, NULL, NULL);
gchar *str_locale = g_convert (str_norm, -1, charset, "UTF-8", NULL, NULL, NULL);
if (str_locale)
{