mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
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:
parent
3b1cf9d237
commit
c61e425b91
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user